Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001718/0.001718, allocations: 113 kB / 18.94 MB, free: 2.934 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.002142/0.002142, allocations: 207.3 kB / 22.25 MB, free: 5.086 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.097/3.097, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.001981/0.001981, allocations: 75.05 kB / 1.177 GB, free: 17.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3282, allocations: 180.2 MB / 1.353 GB, free: 8.621 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009801/0.338, allocations: 7.084 MB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006013/0.344, allocations: 3.219 MB / 1.363 GB, free: 14.28 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008209/0.3449, allocations: 35.69 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.3478, allocations: 0.9943 MB / 1.364 GB, free: 13.25 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001614/0.3494, allocations: 0.5246 MB / 1.364 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.3508, allocations: 445.6 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.3527, allocations: 1.232 MB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00106/0.3538, allocations: 0.5415 MB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/0.3548, allocations: 494.2 kB / 1.367 GB, free: 10.02 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001005/0.3558, allocations: 0.5409 MB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.356, allocations: 68 kB / 1.368 GB, free: 9.41 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000876/0.3568, allocations: 395.2 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.3572, allocations: 315 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005158/0.3577, allocations: 453.7 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.3593, allocations: 1.222 MB / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3593, allocations: 0 / 1.37 GB, free: 7.043 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.734e-06/0.3593, allocations: 8 kB / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.3593, allocations: 0 / 1.37 GB, free: 7.035 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001979/0.3613, allocations: 1.119 MB / 1.371 GB, free: 5.879 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.3613, allocations: 12.03 kB / 1.371 GB, free: 5.867 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.3615, allocations: 118.7 kB / 1.371 GB, free: 5.742 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.3629, allocations: 248 kB / 1.371 GB, free: 5.5 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.3639, allocations: 0.5321 MB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.588e-05/0.364, allocations: 49.67 kB / 1.372 GB, free: 4.895 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.3641, allocations: 72.3 kB / 1.372 GB, free: 4.824 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.3656, allocations: 1.093 MB / 1.373 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.3656, allocations: 4 kB / 1.373 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/0.3657, allocations: 27.98 kB / 1.373 GB, free: 3.586 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001436/0.3658, allocations: 81.27 kB / 1.373 GB, free: 3.508 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.367, allocations: 0.762 MB / 1.374 GB, free: 2.746 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005644/0.3727, allocations: 5.803 MB / 1.38 GB, free: 12.53 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.3736, allocations: 0.5136 MB / 1.38 GB, free: 12.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004429/0.3741, allocations: 290 kB / 1.38 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/0.3741, allocations: 4.438 kB / 1.38 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.3742, allocations: 39 kB / 1.38 GB, free: 11.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.345e-06/0.3742, allocations: 0 / 1.38 GB, free: 11.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.003701/0.3779, allocations: 1.682 MB / 1.382 GB, free: 9.969 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.3779, allocations: 55.84 kB / 1.382 GB, free: 9.902 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006812/0.3786, allocations: 0.5665 MB / 1.383 GB, free: 9.324 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.3786, allocations: 37.7 kB / 1.383 GB, free: 9.281 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/0.3789, allocations: 424.1 kB / 1.383 GB, free: 8.863 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3791, allocations: 186.4 kB / 1.383 GB, free: 8.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001996/0.3793, allocations: 122.6 kB / 1.383 GB, free: 8.555 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3795, allocations: 382.7 kB / 1.384 GB, free: 8.172 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.3799, allocations: 273.9 kB / 1.384 GB, free: 7.902 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/0.3805, allocations: 0.4891 MB / 1.385 GB, free: 7.312 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.3815, allocations: 0.8083 MB / 1.385 GB, free: 6.406 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3816, allocations: 0 / 1.385 GB, free: 6.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001871/0.3834, allocations: 1.078 MB / 1.386 GB, free: 5.309 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3834, allocations: 8 kB / 1.386 GB, free: 5.301 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3835, allocations: 12.09 kB / 1.386 GB, free: 5.289 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008325/0.3843, allocations: 271.2 kB / 1.387 GB, free: 5.012 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.3848, allocations: 127.7 kB / 1.387 GB, free: 4.887 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007143/0.3919, allocations: 6.728 MB / 1.393 GB, free: 13.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/0.3925, allocations: 39.95 kB / 1.393 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.998e-05/0.3926, allocations: 32 kB / 1.393 GB, free: 13.63 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003985/0.393, allocations: 254.1 kB / 1.394 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3931, allocations: 79.53 kB / 1.394 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.3948, allocations: 0.8808 MB / 1.395 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.3948, allocations: 7.938 kB / 1.395 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3948, allocations: 4 kB / 1.395 GB, free: 12.37 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3948, allocations: 3.984 kB / 1.395 GB, free: 12.37 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.3976, allocations: 1.697 MB / 1.396 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/0.3976, allocations: 8.125 kB / 1.396 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.3979, allocations: 63.88 kB / 1.396 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007592/0.3987, allocations: 267.2 kB / 1.397 GB, free: 10.25 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/0.3987, allocations: 12 kB / 1.397 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006949/0.4056, allocations: 6.713 MB / 1.403 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4057, allocations: 0 / 1.403 GB, free: 3.066 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.4073, allocations: 0.9799 MB / 1.404 GB, free: 2.039 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.4077, allocations: 115.5 kB / 1.404 GB, free: 1.926 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.4078, allocations: 16.11 kB / 1.404 GB, free: 1.91 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.4082, allocations: 35.97 kB / 1.404 GB, free: 1.875 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.4083, allocations: 43.92 kB / 1.404 GB, free: 1.832 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-05/0.4083, allocations: 12 kB / 1.404 GB, free: 1.82 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004673/0.4088, allocations: 395 kB / 1.405 GB, free: 1.441 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.4088, allocations: 0 / 1.405 GB, free: 1.441 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008173/0.4096, allocations: 228 kB / 1.405 GB, free: 1.219 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/0.4115, allocations: 1.531 MB / 1.406 GB, free: 15.63 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002061/0.4135, allocations: 1.24 MB / 1.408 GB, free: 14.34 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4135, allocations: 0 / 1.408 GB, free: 14.34 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.4148, allocations: 0.858 MB / 1.408 GB, free: 13.43 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4158, allocations: 231 kB / 1.409 GB, free: 13.21 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009023/0.4249, allocations: 6.41 MB / 1.415 GB, free: 6.461 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.4256, allocations: 1.009 MB / 1.416 GB, free: 5.426 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0003898/0.426, allocations: 126 kB / 1.416 GB, free: 5.301 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.4263, allocations: 255.3 kB / 1.416 GB, free: 5.051 MB / 1.107 GB Notification: Performance of SimCode: time 6.81e-07/0.4263, allocations: 0 / 1.416 GB, free: 5.051 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06202/0.4883, allocations: 18.17 MB / 1.434 GB, free: 3.176 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.68, allocations: 12.61 kB / 1.434 GB, free: 3.168 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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: 19.327329311985523]