Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002822/0.002822, allocations: 221.2 kB / 22.25 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.161/3.161, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 62.41 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2962, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02721/0.3234, allocations: 21.56 MB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01129/0.3347, allocations: 6.175 MB / 1.353 GB, free: 5.676 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.3364, allocations: 130.9 kB / 1.353 GB, free: 5.547 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004042/0.3404, allocations: 1.564 MB / 1.355 GB, free: 3.977 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.3442, allocations: 1.731 MB / 1.356 GB, free: 2.238 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.3476, allocations: 1.339 MB / 1.358 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007127/0.3547, allocations: 5.928 MB / 1.363 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004786/0.3595, allocations: 3.236 MB / 1.367 GB, free: 7.629 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.3631, allocations: 2.497 MB / 1.369 GB, free: 5.125 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004613/0.3677, allocations: 3.073 MB / 1.372 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007573/0.3684, allocations: 456 kB / 1.372 GB, free: 1.598 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.3706, allocations: 1.038 MB / 1.373 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002246/0.3728, allocations: 2.081 MB / 1.375 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002467/0.3753, allocations: 1.755 MB / 1.377 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008003/0.3833, allocations: 7.355 MB / 1.384 GB, free: 5.332 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3833, allocations: 0 / 1.384 GB, free: 5.332 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3833, allocations: 0 / 1.384 GB, free: 5.332 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001453/0.3835, allocations: 0 / 1.384 GB, free: 5.332 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007727/0.3912, allocations: 3.838 MB / 1.388 GB, free: 1.445 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3912, allocations: 8.031 kB / 1.388 GB, free: 1.438 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007422/0.392, allocations: 0.5015 MB / 1.389 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005901/0.3979, allocations: 1.227 MB / 1.39 GB, free: 15.7 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005456/0.4033, allocations: 2.308 MB / 1.392 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.4035, allocations: 246.4 kB / 1.392 GB, free: 13.09 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006248/0.4042, allocations: 308 kB / 1.393 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009845/0.414, allocations: 6.446 MB / 1.399 GB, free: 6.039 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.802e-05/0.4141, allocations: 15.88 kB / 1.399 GB, free: 6.023 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.4144, allocations: 139.9 kB / 1.399 GB, free: 5.887 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005128/0.415, allocations: 410.2 kB / 1.399 GB, free: 5.484 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00736/0.4223, allocations: 4.651 MB / 1.404 GB, free: 0.8242 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02623/0.4485, allocations: 18.66 MB / 1.422 GB, free: 13.64 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002037/0.4506, allocations: 1.369 MB / 1.424 GB, free: 12.26 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.4526, allocations: 1.437 MB / 1.425 GB, free: 10.82 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.853e-05/0.4527, allocations: 13 kB / 1.425 GB, free: 10.81 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4528, allocations: 47.5 kB / 1.425 GB, free: 10.76 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 2.896e-06/0.4528, allocations: 0 / 1.425 GB, free: 10.76 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1399/0.5927, allocations: 37.07 MB / 1.461 GB, free: 5.621 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.424e-05/0.5928, allocations: 73.34 kB / 1.461 GB, free: 5.535 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/0.5949, allocations: 1.454 MB / 1.463 GB, free: 4.074 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/0.5952, allocations: 49.7 kB / 1.463 GB, free: 4.02 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/0.5963, allocations: 1.586 MB / 1.464 GB, free: 2.418 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006561/0.597, allocations: 0.6468 MB / 1.465 GB, free: 1.766 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007676/0.5978, allocations: 379.5 kB / 1.465 GB, free: 1.387 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5979, allocations: 305.1 kB / 1.466 GB, free: 1.086 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.6006, allocations: 1.78 MB / 1.467 GB, free: 15.3 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003175/0.6038, allocations: 2.346 MB / 1.47 GB, free: 12.7 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00599/0.6098, allocations: 4.394 MB / 1.474 GB, free: 8.066 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.6098, allocations: 8 kB / 1.474 GB, free: 8.059 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01826/0.628, allocations: 8.431 MB / 1.482 GB, free: 15.59 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.6281, allocations: 12 kB / 1.482 GB, free: 15.58 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/0.6281, allocations: 20 kB / 1.482 GB, free: 15.56 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01541/0.6435, allocations: 4.617 MB / 1.487 GB, free: 10.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.6447, allocations: 295.5 kB / 1.487 GB, free: 10.64 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04921/0.6939, allocations: 31.59 MB / 1.518 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001984/0.6959, allocations: 151.8 kB / 1.518 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.6961, allocations: 83.98 kB / 1.518 GB, free: 10.13 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002268/0.6984, allocations: 1.328 MB / 1.519 GB, free: 8.789 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/0.6988, allocations: 207 kB / 1.52 GB, free: 8.586 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/0.7169, allocations: 8.296 MB / 1.528 GB, free: 252 kB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.717, allocations: 16 kB / 1.528 GB, free: 236 kB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-05/0.717, allocations: 35.94 kB / 1.528 GB, free: 200 kB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.599e-05/0.717, allocations: 7.969 kB / 1.528 GB, free: 192 kB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02545/0.7425, allocations: 12.21 MB / 1.54 GB, free: 3.809 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.519e-05/0.7425, allocations: 8 kB / 1.54 GB, free: 3.801 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006954/0.7432, allocations: 159.8 kB / 1.54 GB, free: 3.645 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01497/0.7582, allocations: 4.479 MB / 1.544 GB, free: 15.15 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002772/0.7584, allocations: 36 kB / 1.544 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04828/0.8067, allocations: 31.2 MB / 1.575 GB, free: 15.22 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.8067, allocations: 8 kB / 1.575 GB, free: 15.21 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/0.8241, allocations: 8.112 MB / 1.583 GB, free: 6.965 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/0.8261, allocations: 0.5531 MB / 1.583 GB, free: 6.41 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/0.8264, allocations: 40 kB / 1.583 GB, free: 6.371 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/0.8277, allocations: 131.8 kB / 1.583 GB, free: 6.242 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007988/0.8285, allocations: 176.9 kB / 1.583 GB, free: 6.07 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001619/0.8287, allocations: 55.94 kB / 1.583 GB, free: 6.016 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001393/0.8301, allocations: 0.9587 MB / 1.584 GB, free: 5.062 MB / 1.279 GB Notification: Performance of sort global known variables: time 8e-08/0.8301, allocations: 0 / 1.584 GB, free: 5.062 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003229/0.8333, allocations: 1.117 MB / 1.586 GB, free: 3.945 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01766/0.851, allocations: 8.697 MB / 1.594 GB, free: 11.11 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01281/0.8638, allocations: 6.308 MB / 1.6 GB, free: 4.719 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.8638, allocations: 256 / 1.6 GB, free: 4.719 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.009248/0.873, allocations: 4.193 MB / 1.604 GB, free: 452 kB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5561/1.429, allocations: 0.5315 MB / 1.605 GB, free: 262.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05902/1.488, allocations: 33.51 MB / 1.638 GB, free: 252.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/1.49, allocations: 2.165 MB / 1.64 GB, free: 251.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0008623/1.491, allocations: 392.2 kB / 1.64 GB, free: 251.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009512/1.492, allocations: 1.219 MB / 1.641 GB, free: 250.6 MB / 1.295 GB Notification: Performance of SimCode: time 9.22e-07/1.492, allocations: 0 / 1.641 GB, free: 250.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1217/1.614, allocations: 90.73 MB / 1.73 GB, free: 168.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.48/15.09, allocations: 2.578 kB / 1.73 GB, free: 168.6 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.998808320990065]