Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 108.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.126/3.126, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 73.47 kB / 1.134 GB, free: 33.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2973, allocations: 173.9 MB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04176/0.339, allocations: 33.16 MB / 1.336 GB, free: 272 kB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.3567, allocations: 10.38 MB / 1.347 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002474/0.3591, allocations: 147.3 kB / 1.347 GB, free: 5.707 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.009695/0.3688, allocations: 3.781 MB / 1.35 GB, free: 1.918 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005553/0.3744, allocations: 1.956 MB / 1.352 GB, free: 15.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005876/0.3803, allocations: 2.137 MB / 1.354 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01029/0.3905, allocations: 7.31 MB / 1.361 GB, free: 6.484 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.401, allocations: 7.046 MB / 1.368 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00553/0.4065, allocations: 3.221 MB / 1.372 GB, free: 12.09 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006601/0.4131, allocations: 3.68 MB / 1.375 GB, free: 8.395 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001726/0.4149, allocations: 0.6484 MB / 1.376 GB, free: 7.746 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.4189, allocations: 1.802 MB / 1.377 GB, free: 5.941 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003317/0.4222, allocations: 2.619 MB / 1.38 GB, free: 3.316 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003854/0.4261, allocations: 2.89 MB / 1.383 GB, free: 424 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.438, allocations: 10.14 MB / 1.393 GB, free: 6.242 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.438, allocations: 3.984 kB / 1.393 GB, free: 6.238 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.763e-06/0.438, allocations: 0 / 1.393 GB, free: 6.238 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001976/0.4382, allocations: 4 kB / 1.393 GB, free: 6.234 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01123/0.4494, allocations: 5.116 MB / 1.398 GB, free: 1.039 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.4495, allocations: 12.92 kB / 1.398 GB, free: 1.027 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009967/0.4505, allocations: 0.6898 MB / 1.398 GB, free: 336 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/0.4554, allocations: 0.9796 MB / 1.399 GB, free: 15.35 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/0.462, allocations: 3.055 MB / 1.402 GB, free: 12.23 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.4623, allocations: 349.7 kB / 1.403 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007692/0.463, allocations: 460.3 kB / 1.403 GB, free: 11.44 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.476, allocations: 7.665 MB / 1.411 GB, free: 3.426 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/0.4761, allocations: 31.7 kB / 1.411 GB, free: 3.395 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004738/0.4766, allocations: 204 kB / 1.411 GB, free: 3.195 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003479/0.4769, allocations: 309 kB / 1.411 GB, free: 2.891 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.488, allocations: 5.714 MB / 1.417 GB, free: 13.16 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04634/0.5344, allocations: 34.89 MB / 1.451 GB, free: 7.07 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/0.5375, allocations: 2.013 MB / 1.453 GB, free: 4.938 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.5393, allocations: 1.121 MB / 1.454 GB, free: 3.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.356e-05/0.5394, allocations: 17.31 kB / 1.454 GB, free: 3.805 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.5395, allocations: 47.88 kB / 1.454 GB, free: 3.75 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 3.357e-06/0.5395, allocations: 0 / 1.454 GB, free: 3.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01549/0.555, allocations: 7.118 MB / 1.461 GB, free: 12.37 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.537e-05/0.555, allocations: 64.72 kB / 1.461 GB, free: 12.29 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.5578, allocations: 1.488 MB / 1.462 GB, free: 10.76 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/0.5579, allocations: 57.69 kB / 1.462 GB, free: 10.7 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001647/0.5596, allocations: 2.061 MB / 1.464 GB, free: 8.613 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005896/0.5601, allocations: 0.5035 MB / 1.465 GB, free: 8.105 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006302/0.5608, allocations: 347.3 kB / 1.465 GB, free: 7.758 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5609, allocations: 313 kB / 1.466 GB, free: 7.449 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/0.5624, allocations: 0.9096 MB / 1.467 GB, free: 6.539 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002048/0.5644, allocations: 1.589 MB / 1.468 GB, free: 4.641 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003807/0.5682, allocations: 2.741 MB / 1.471 GB, free: 1.59 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/0.5683, allocations: 4 kB / 1.471 GB, free: 1.586 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006609/0.5749, allocations: 3.508 MB / 1.474 GB, free: 14.03 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.254e-05/0.5749, allocations: 17.88 kB / 1.474 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/0.5749, allocations: 32.06 kB / 1.474 GB, free: 13.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002687/0.5776, allocations: 0.896 MB / 1.475 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.5788, allocations: 351.4 kB / 1.475 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02425/0.603, allocations: 23.12 MB / 1.498 GB, free: 3.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.6047, allocations: 108 kB / 1.498 GB, free: 3.805 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.6049, allocations: 80 kB / 1.498 GB, free: 3.727 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002555/0.6074, allocations: 1.613 MB / 1.5 GB, free: 2.102 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003958/0.6078, allocations: 214.7 kB / 1.5 GB, free: 1.891 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005547/0.6134, allocations: 2.963 MB / 1.503 GB, free: 14.88 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.6134, allocations: 12 kB / 1.503 GB, free: 14.87 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/0.6134, allocations: 11.94 kB / 1.503 GB, free: 14.86 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/0.6134, allocations: 15.95 kB / 1.503 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/0.6267, allocations: 7.305 MB / 1.51 GB, free: 7.297 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.6267, allocations: 4 kB / 1.51 GB, free: 7.293 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007956/0.6275, allocations: 183.6 kB / 1.51 GB, free: 7.113 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002456/0.6299, allocations: 0.8262 MB / 1.511 GB, free: 6.25 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.63, allocations: 28 kB / 1.511 GB, free: 6.223 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/0.6532, allocations: 21.96 MB / 1.532 GB, free: 14.57 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6532, allocations: 4 kB / 1.532 GB, free: 14.57 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005817/0.6591, allocations: 3.01 MB / 1.535 GB, free: 11.45 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/0.6603, allocations: 475.6 kB / 1.536 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002444/0.6606, allocations: 24 kB / 1.536 GB, free: 10.94 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.6613, allocations: 71.91 kB / 1.536 GB, free: 10.87 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/0.6617, allocations: 128.7 kB / 1.536 GB, free: 10.74 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.204e-05/0.6618, allocations: 36 kB / 1.536 GB, free: 10.71 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001413/0.6632, allocations: 0.9756 MB / 1.537 GB, free: 9.707 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.6632, allocations: 0 / 1.537 GB, free: 9.707 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002614/0.6658, allocations: 0.7968 MB / 1.538 GB, free: 8.91 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005474/0.6713, allocations: 3.592 MB / 1.541 GB, free: 5.195 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00599/0.6773, allocations: 3.929 MB / 1.545 GB, free: 1.113 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.6773, allocations: 4 kB / 1.545 GB, free: 1.109 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.003861/0.6812, allocations: 2.662 MB / 1.548 GB, free: 14.29 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.6841, allocations: 0.7292 MB / 1.549 GB, free: 13.59 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03733/0.7214, allocations: 22.41 MB / 1.57 GB, free: 6.16 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004409/0.7259, allocations: 3.109 MB / 1.573 GB, free: 3.016 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001508/0.7274, allocations: 453.9 kB / 1.574 GB, free: 2.57 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002157/0.7295, allocations: 1.534 MB / 1.575 GB, free: 1.035 MB / 1.279 GB Notification: Performance of SimCode: time 1.163e-06/0.7295, allocations: 0 / 1.575 GB, free: 1.035 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7558/1.485, allocations: 61.8 MB / 1.636 GB, free: 284.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/14.52, allocations: 11.27 kB / 1.636 GB, free: 284.5 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.552725488785654]