Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.001313/0.001313, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001444/0.001444, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.16/3.16, allocations: 0.5003 GB / 0.8026 GB, free: 6.668 MB / 0.6387 GB " [Timeout remaining time 176] 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.002015/0.002015, allocations: 67.89 kB / 1.165 GB, free: 500 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.921, allocations: 178.9 MB / 1.34 GB, free: 16.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01032/0.9313, allocations: 6.839 MB / 1.347 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.006282/0.9376, allocations: 3.107 MB / 1.35 GB, free: 9.375 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008197/0.9384, allocations: 44.12 kB / 1.35 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.9411, allocations: 0.9566 MB / 1.351 GB, free: 8.773 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.943, allocations: 0.5144 MB / 1.351 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.9447, allocations: 428 kB / 1.352 GB, free: 8.258 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002242/0.947, allocations: 1.231 MB / 1.353 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008878/0.9479, allocations: 0.5308 MB / 1.353 GB, free: 7.465 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008682/0.9487, allocations: 493.7 kB / 1.354 GB, free: 7.262 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008675/0.9496, allocations: 0.5514 MB / 1.354 GB, free: 7.035 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.9497, allocations: 65.91 kB / 1.355 GB, free: 7.035 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000899/0.9506, allocations: 385.6 kB / 1.355 GB, free: 6.922 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00033/0.951, allocations: 309.9 kB / 1.355 GB, free: 6.793 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.9514, allocations: 452 kB / 1.356 GB, free: 6.531 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.9531, allocations: 1.221 MB / 1.357 GB, free: 6.102 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.9531, allocations: 1.188 kB / 1.357 GB, free: 6.102 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9531, allocations: 0 / 1.357 GB, free: 6.102 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.707e-05/0.9532, allocations: 0.5156 kB / 1.357 GB, free: 6.102 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.002768/0.9559, allocations: 1.185 MB / 1.358 GB, free: 5.281 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.956, allocations: 9.594 kB / 1.358 GB, free: 5.281 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.114e-05/0.956, allocations: 26.41 kB / 1.358 GB, free: 5.273 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001863/0.9562, allocations: 119.4 kB / 1.358 GB, free: 5.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.9588, allocations: 238.5 kB / 1.358 GB, free: 5.137 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.9598, allocations: 0.5999 MB / 1.359 GB, free: 4.746 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.405e-05/0.9599, allocations: 47.92 kB / 1.359 GB, free: 4.723 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.96, allocations: 61.75 kB / 1.359 GB, free: 4.703 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.9615, allocations: 1.089 MB / 1.36 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.9616, allocations: 10.94 kB / 1.36 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.612e-05/0.9616, allocations: 29.3 kB / 1.36 GB, free: 4.051 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.9618, allocations: 83.98 kB / 1.36 GB, free: 4.043 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.963, allocations: 0.7497 MB / 1.361 GB, free: 3.773 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006318/0.9693, allocations: 5.88 MB / 1.367 GB, free: 14.76 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.9708, allocations: 0.5127 MB / 1.367 GB, free: 14.56 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007569/0.9716, allocations: 293 kB / 1.367 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.063e-05/0.9716, allocations: 3.938 kB / 1.367 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.679e-05/0.9717, allocations: 43.22 kB / 1.368 GB, free: 14.4 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 3.687e-06/0.9717, allocations: 0 / 1.368 GB, free: 14.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.004651/0.9763, allocations: 1.984 MB / 1.369 GB, free: 13.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.9764, allocations: 60.66 kB / 1.37 GB, free: 13.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/0.9772, allocations: 0.5545 MB / 1.37 GB, free: 13.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.9773, allocations: 35.89 kB / 1.37 GB, free: 12.98 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003407/0.9776, allocations: 426.8 kB / 1.371 GB, free: 12.64 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.9778, allocations: 181.5 kB / 1.371 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.978, allocations: 127.4 kB / 1.371 GB, free: 12.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002174/0.9782, allocations: 379 kB / 1.371 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004705/0.9787, allocations: 274.2 kB / 1.371 GB, free: 11.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00082/0.9795, allocations: 497.9 kB / 1.372 GB, free: 11.62 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.9813, allocations: 0.8079 MB / 1.373 GB, free: 11.08 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.9813, allocations: 1.406 kB / 1.373 GB, free: 11.08 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003229/0.9845, allocations: 1.083 MB / 1.374 GB, free: 10.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.9845, allocations: 7.25 kB / 1.374 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.9846, allocations: 12.47 kB / 1.374 GB, free: 10.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.9858, allocations: 280.1 kB / 1.374 GB, free: 10.52 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007938/0.9866, allocations: 125.2 kB / 1.374 GB, free: 10.51 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008395/0.995, allocations: 7.146 MB / 1.381 GB, free: 4.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008589/0.9959, allocations: 40.14 kB / 1.381 GB, free: 4.258 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.996, allocations: 32.58 kB / 1.381 GB, free: 4.25 MB / 1.076 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.0004702/0.9964, allocations: 251.8 kB / 1.381 GB, free: 4.066 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/0.9966, allocations: 73.28 kB / 1.382 GB, free: 4.031 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.9992, allocations: 0.8778 MB / 1.382 GB, free: 3.641 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.9992, allocations: 5.344 kB / 1.382 GB, free: 3.641 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.9992, allocations: 3.5 kB / 1.382 GB, free: 3.641 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.9992, allocations: 2.719 kB / 1.382 GB, free: 3.641 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/1.003, allocations: 1.72 MB / 1.384 GB, free: 2.766 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.003, allocations: 1.312 kB / 1.384 GB, free: 2.766 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/1.003, allocations: 64.23 kB / 1.384 GB, free: 2.758 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008693/1.004, allocations: 266.6 kB / 1.384 GB, free: 2.672 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.426e-05/1.004, allocations: 11.09 kB / 1.384 GB, free: 2.664 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01033/1.015, allocations: 7.133 MB / 1.391 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.015, allocations: 1.875 kB / 1.391 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/1.017, allocations: 0.9753 MB / 1.392 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/1.018, allocations: 197.9 kB / 1.392 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/1.018, allocations: 15.45 kB / 1.393 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/1.019, allocations: 30.45 kB / 1.393 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001955/1.019, allocations: 45.98 kB / 1.393 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.294e-05/1.019, allocations: 14.47 kB / 1.393 GB, free: 11.71 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007675/1.02, allocations: 386.1 kB / 1.393 GB, free: 11.54 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.01e-07/1.02, allocations: 0 / 1.393 GB, free: 11.54 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001499/1.021, allocations: 221.3 kB / 1.393 GB, free: 11.52 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.003376/1.025, allocations: 1.538 MB / 1.395 GB, free: 10.46 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00333/1.028, allocations: 1.24 MB / 1.396 GB, free: 9.738 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.028, allocations: 1.094 kB / 1.396 GB, free: 9.738 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001961/1.03, allocations: 0.8641 MB / 1.397 GB, free: 9.141 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.032, allocations: 215.2 kB / 1.397 GB, free: 9.062 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.045, allocations: 6.369 MB / 1.403 GB, free: 5.367 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008789/1.046, allocations: 1.007 MB / 1.404 GB, free: 4.637 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005568/1.047, allocations: 116.9 kB / 1.404 GB, free: 4.613 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/1.047, allocations: 258.7 kB / 1.404 GB, free: 4.414 MB / 1.092 GB Notification: Performance of SimCode: time 7.12e-07/1.047, allocations: 0 / 1.404 GB, free: 4.414 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07151/1.119, allocations: 17.55 MB / 1.422 GB, free: 13.38 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.54, allocations: 13.55 kB / 1.422 GB, free: 13.37 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.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.32344558503246]