Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001783/0.001783, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002362/0.002362, allocations: 212 kB / 22.24 MB, free: 5.262 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.781 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.211/3.211, allocations: 0.4892 GB / 0.7944 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_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_12_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.002088/0.002088, allocations: 63.3 kB / 1.153 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3595, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01095/0.3705, allocations: 6.558 MB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006219/0.3767, allocations: 3.079 MB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005411/0.3772, allocations: 35.69 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002903/0.3801, allocations: 0.9517 MB / 1.335 GB, free: 7.738 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.3814, allocations: 0.5206 MB / 1.336 GB, free: 7.215 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.3827, allocations: 453.9 kB / 1.336 GB, free: 6.773 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001819/0.3845, allocations: 1.229 MB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.3855, allocations: 0.5334 MB / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009488/0.3865, allocations: 498.2 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009812/0.3874, allocations: 0.5136 MB / 1.339 GB, free: 3.992 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001838/0.3876, allocations: 68 kB / 1.339 GB, free: 3.926 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007797/0.3884, allocations: 339.3 kB / 1.339 GB, free: 3.594 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004346/0.3888, allocations: 323 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0006106/0.3895, allocations: 374.3 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.391, allocations: 1.241 MB / 1.341 GB, free: 1.664 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.391, allocations: 0 / 1.341 GB, free: 1.664 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.283e-06/0.391, allocations: 0 / 1.341 GB, free: 1.664 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.391, allocations: 0 / 1.341 GB, free: 1.664 MB / 1.029 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.001982/0.393, allocations: 1.116 MB / 1.342 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.3931, allocations: 8.031 kB / 1.342 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001471/0.3932, allocations: 122.7 kB / 1.343 GB, free: 384 kB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001535/0.3947, allocations: 244.1 kB / 1.343 GB, free: 140 kB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3959, allocations: 0.536 MB / 1.343 GB, free: 15.58 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.3959, allocations: 45.67 kB / 1.343 GB, free: 15.53 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.396, allocations: 60.38 kB / 1.343 GB, free: 15.47 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.3978, allocations: 1.34 MB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.3979, allocations: 15.88 kB / 1.345 GB, free: 13.94 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.742e-05/0.3979, allocations: 35.98 kB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.3981, allocations: 77.27 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.3994, allocations: 0.762 MB / 1.346 GB, free: 13.07 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005403/0.4048, allocations: 4.632 MB / 1.35 GB, free: 8.273 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4058, allocations: 0.5047 MB / 1.351 GB, free: 7.754 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004488/0.4063, allocations: 282 kB / 1.351 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.82e-05/0.4063, allocations: 12.42 kB / 1.351 GB, free: 7.461 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.4064, allocations: 43 kB / 1.351 GB, free: 7.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.094e-06/0.4064, allocations: 0 / 1.351 GB, free: 7.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003818/0.4102, allocations: 1.69 MB / 1.353 GB, free: 5.703 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4102, allocations: 55.84 kB / 1.353 GB, free: 5.637 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006996/0.4109, allocations: 0.5742 MB / 1.353 GB, free: 5.051 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.411, allocations: 33.7 kB / 1.353 GB, free: 5.012 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.4113, allocations: 432 kB / 1.354 GB, free: 4.586 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.4115, allocations: 174.5 kB / 1.354 GB, free: 4.414 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.4117, allocations: 130.6 kB / 1.354 GB, free: 4.281 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.4119, allocations: 374.7 kB / 1.354 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004299/0.4123, allocations: 281.8 kB / 1.355 GB, free: 3.633 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.4129, allocations: 497.4 kB / 1.355 GB, free: 3.051 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.4141, allocations: 0.8083 MB / 1.356 GB, free: 2.148 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.4141, allocations: 8 kB / 1.356 GB, free: 2.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001903/0.416, allocations: 1.073 MB / 1.357 GB, free: 1.043 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.416, allocations: 11.98 kB / 1.357 GB, free: 1.031 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.416, allocations: 8.844 kB / 1.357 GB, free: 1.023 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008705/0.4169, allocations: 283.2 kB / 1.357 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.4174, allocations: 127.7 kB / 1.357 GB, free: 0.6094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007156/0.4245, allocations: 6.678 MB / 1.364 GB, free: 9.465 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005787/0.4251, allocations: 36.02 kB / 1.364 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.4252, allocations: 35.97 kB / 1.364 GB, free: 9.395 MB / 1.061 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.0003757/0.4255, allocations: 249.5 kB / 1.364 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.4257, allocations: 75.58 kB / 1.364 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.4274, allocations: 0.8886 MB / 1.365 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.4274, allocations: 4 kB / 1.365 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4274, allocations: 4 kB / 1.365 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4274, allocations: 0 / 1.365 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.4302, allocations: 1.607 MB / 1.367 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/0.4302, allocations: 7.938 kB / 1.367 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.4305, allocations: 63.89 kB / 1.367 GB, free: 6.391 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/0.4313, allocations: 267.6 kB / 1.367 GB, free: 6.117 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.4314, allocations: 8 kB / 1.367 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007382/0.4387, allocations: 6.673 MB / 1.373 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4387, allocations: 4.031 kB / 1.373 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.4404, allocations: 0.9843 MB / 1.374 GB, free: 13.94 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.4408, allocations: 119.5 kB / 1.375 GB, free: 13.82 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.244e-05/0.4408, allocations: 11.94 kB / 1.375 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.4412, allocations: 31.95 kB / 1.375 GB, free: 13.78 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-05/0.4413, allocations: 43.92 kB / 1.375 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.4413, allocations: 12 kB / 1.375 GB, free: 13.72 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004766/0.4418, allocations: 387.1 kB / 1.375 GB, free: 13.35 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4418, allocations: 3.938 kB / 1.375 GB, free: 13.35 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008261/0.4427, allocations: 227.9 kB / 1.375 GB, free: 13.12 MB / 1.076 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.00195/0.4446, allocations: 1.544 MB / 1.377 GB, free: 11.52 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002207/0.4468, allocations: 1.24 MB / 1.378 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4468, allocations: 0 / 1.378 GB, free: 10.23 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/0.4481, allocations: 0.8542 MB / 1.379 GB, free: 9.328 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.4491, allocations: 221.6 kB / 1.379 GB, free: 9.117 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009252/0.4584, allocations: 6.408 MB / 1.385 GB, free: 2.379 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/0.4589, allocations: 421 kB / 1.386 GB, free: 1.941 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004692/0.4594, allocations: 126 kB / 1.386 GB, free: 1.816 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003604/0.4597, allocations: 251.4 kB / 1.386 GB, free: 1.57 MB / 1.076 GB Notification: Performance of SimCode: time 1.212e-06/0.4597, allocations: 0 / 1.386 GB, free: 1.57 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0649/0.5246, allocations: 19.37 MB / 1.405 GB, free: 14.62 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.56, allocations: 9.703 kB / 1.405 GB, free: 14.61 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.430665931664407]