Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.00129/0.00129, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001419/0.001419, allocations: 214 kB / 23.04 MB, free: 5.078 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.69/2.69, allocations: 476.7 MB / 0.7714 GB, free: 4.324 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",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.001997/0.001997, allocations: 62.73 kB / 1.118 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2879, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03967/0.3275, allocations: 34.28 MB / 1.318 GB, free: 9.344 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01726/0.3448, allocations: 10.69 MB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.3478, allocations: 190.6 kB / 1.328 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00963/0.3574, allocations: 3.907 MB / 1.332 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005215/0.3627, allocations: 1.956 MB / 1.334 GB, free: 8.562 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005618/0.3683, allocations: 2.195 MB / 1.336 GB, free: 6.367 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01027/0.3785, allocations: 7.33 MB / 1.343 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009428/0.388, allocations: 5.146 MB / 1.348 GB, free: 9.75 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005808/0.3938, allocations: 3.272 MB / 1.352 GB, free: 6.469 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006219/0.4, allocations: 3.664 MB / 1.355 GB, free: 2.793 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002637/0.4026, allocations: 0.6484 MB / 1.356 GB, free: 2.145 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005283/0.4079, allocations: 1.806 MB / 1.357 GB, free: 344 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.003939/0.4119, allocations: 2.619 MB / 1.36 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005419/0.4173, allocations: 2.898 MB / 1.363 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/0.4305, allocations: 10.14 MB / 1.373 GB, free: 0.6367 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.4305, allocations: 3.938 kB / 1.373 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.937e-06/0.4305, allocations: 4 kB / 1.373 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0003479/0.4309, allocations: 0 / 1.373 GB, free: 0.6289 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01323/0.4441, allocations: 5.043 MB / 1.378 GB, free: 11.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4441, allocations: 16.03 kB / 1.378 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001433/0.4443, allocations: 125.5 kB / 1.378 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001717/0.446, allocations: 0.682 MB / 1.378 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005968/0.452, allocations: 0.9774 MB / 1.379 GB, free: 9.711 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006941/0.4589, allocations: 3.007 MB / 1.382 GB, free: 6.637 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.4593, allocations: 345.7 kB / 1.383 GB, free: 6.297 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/0.4606, allocations: 468.3 kB / 1.383 GB, free: 5.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.4788, allocations: 7.674 MB / 1.391 GB, free: 13.82 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002478/0.479, allocations: 23.81 kB / 1.391 GB, free: 13.79 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/0.4803, allocations: 200 kB / 1.391 GB, free: 13.6 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004409/0.4808, allocations: 316.9 kB / 1.391 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01197/0.4927, allocations: 5.706 MB / 1.397 GB, free: 7.562 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04217/0.5349, allocations: 34.57 MB / 1.43 GB, free: 1.781 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002661/0.5376, allocations: 1.554 MB / 1.432 GB, free: 228 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.5392, allocations: 1.128 MB / 1.433 GB, free: 15.1 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 9.451e-05/0.5393, allocations: 17.31 kB / 1.433 GB, free: 15.08 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/0.5394, allocations: 47.81 kB / 1.433 GB, free: 15.02 MB / 1.139 GB Notification: Performance of pre-optimization done (n=133): time 3.276e-06/0.5394, allocations: 4 kB / 1.433 GB, free: 15.02 MB / 1.139 GB Notification: Performance of matching and sorting (n=136): time 0.01394/0.5533, allocations: 6.207 MB / 1.439 GB, free: 8.766 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.971e-05/0.5534, allocations: 68.72 kB / 1.439 GB, free: 8.688 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002388/0.5557, allocations: 1.484 MB / 1.441 GB, free: 7.156 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5558, allocations: 45.7 kB / 1.441 GB, free: 7.105 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.5573, allocations: 2.069 MB / 1.443 GB, free: 5.016 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000481/0.5578, allocations: 0.4957 MB / 1.443 GB, free: 4.516 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005666/0.5584, allocations: 359.3 kB / 1.444 GB, free: 4.156 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.5585, allocations: 301.1 kB / 1.444 GB, free: 3.859 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.5599, allocations: 0.9135 MB / 1.445 GB, free: 2.945 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.5618, allocations: 1.593 MB / 1.446 GB, free: 1.043 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00363/0.5654, allocations: 2.737 MB / 1.449 GB, free: 13.99 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.172e-05/0.5654, allocations: 8 kB / 1.449 GB, free: 13.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006342/0.5718, allocations: 3.512 MB / 1.452 GB, free: 10.43 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.5718, allocations: 15.94 kB / 1.453 GB, free: 10.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.5719, allocations: 24 kB / 1.453 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/0.5745, allocations: 0.9 MB / 1.453 GB, free: 9.449 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.5756, allocations: 351.4 kB / 1.454 GB, free: 9.105 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/0.5989, allocations: 21.89 MB / 1.475 GB, free: 1.84 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.6008, allocations: 104 kB / 1.475 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/0.6011, allocations: 80 kB / 1.475 GB, free: 1.66 MB / 1.17 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.003013/0.6041, allocations: 1.609 MB / 1.477 GB, free: 40 kB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005665/0.6047, allocations: 222.7 kB / 1.477 GB, free: 15.82 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005698/0.6104, allocations: 2.959 MB / 1.48 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.6104, allocations: 19.88 kB / 1.48 GB, free: 12.8 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-05/0.6104, allocations: 12 kB / 1.48 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.6105, allocations: 7.969 kB / 1.48 GB, free: 12.78 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01357/0.624, allocations: 7.289 MB / 1.487 GB, free: 5.262 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.624, allocations: 4.562 kB / 1.487 GB, free: 5.258 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000811/0.6249, allocations: 179.7 kB / 1.487 GB, free: 5.082 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.6273, allocations: 0.814 MB / 1.488 GB, free: 4.23 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.6274, allocations: 32 kB / 1.488 GB, free: 4.199 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/0.6488, allocations: 20.74 MB / 1.508 GB, free: 14.08 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.6488, allocations: 7.938 kB / 1.508 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.6546, allocations: 3.003 MB / 1.511 GB, free: 10.95 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.6557, allocations: 398.5 kB / 1.512 GB, free: 10.56 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/0.6561, allocations: 31.94 kB / 1.512 GB, free: 10.53 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.6571, allocations: 75.91 kB / 1.512 GB, free: 10.46 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003468/0.6574, allocations: 128.6 kB / 1.512 GB, free: 10.33 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.131e-05/0.6575, allocations: 36 kB / 1.512 GB, free: 10.29 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001565/0.6591, allocations: 0.9795 MB / 1.513 GB, free: 9.289 MB / 1.217 GB Notification: Performance of sort global known variables: time 6e-08/0.6591, allocations: 0 / 1.513 GB, free: 9.289 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002891/0.662, allocations: 0.7891 MB / 1.514 GB, free: 8.5 MB / 1.217 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.005655/0.6676, allocations: 3.592 MB / 1.517 GB, free: 4.789 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005995/0.6736, allocations: 3.925 MB / 1.521 GB, free: 0.7109 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/0.6736, allocations: 4 kB / 1.521 GB, free: 0.707 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.00382/0.6775, allocations: 2.667 MB / 1.524 GB, free: 13.88 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/0.6808, allocations: 0.7343 MB / 1.524 GB, free: 13.17 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0388/0.7196, allocations: 22.53 MB / 1.546 GB, free: 5.625 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004766/0.7244, allocations: 3.117 MB / 1.549 GB, free: 2.48 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001323/0.7257, allocations: 453.9 kB / 1.55 GB, free: 2.027 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00212/0.7279, allocations: 1.53 MB / 1.551 GB, free: 0.4961 MB / 1.248 GB Notification: Performance of SimCode: time 1.062e-06/0.7279, allocations: 0 / 1.551 GB, free: 0.4961 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1611/0.8889, allocations: 63.51 MB / 1.613 GB, free: 1.664 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.39, allocations: 14.11 kB / 1.613 GB, free: 1.656 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 23.168628991988953]