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.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.00184/0.00184, allocations: 109.2 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.002026/0.002026, 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.452/1.452, 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.144/3.144, allocations: 497.2 MB / 0.7811 GB, free: 33.54 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 72.09 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3349, allocations: 173.9 MB / 1.304 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009547/0.3444, allocations: 6.815 MB / 1.311 GB, free: 10.73 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005818/0.3502, allocations: 3.082 MB / 1.314 GB, free: 7.641 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009382/0.3512, allocations: 27.81 kB / 1.314 GB, free: 7.613 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002934/0.3541, allocations: 0.9644 MB / 1.315 GB, free: 6.648 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.356, allocations: 0.5285 MB / 1.315 GB, free: 6.117 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3573, allocations: 419 kB / 1.316 GB, free: 5.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.3592, allocations: 1.217 MB / 1.317 GB, free: 4.484 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009541/0.3602, allocations: 0.5376 MB / 1.317 GB, free: 3.941 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008146/0.361, allocations: 474.3 kB / 1.318 GB, free: 3.477 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007757/0.3617, allocations: 0.5487 MB / 1.318 GB, free: 2.926 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001063/0.3619, allocations: 72 kB / 1.318 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008032/0.3627, allocations: 391.2 kB / 1.319 GB, free: 2.473 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003353/0.363, allocations: 315.1 kB / 1.319 GB, free: 2.164 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000493/0.3635, allocations: 449.7 kB / 1.319 GB, free: 1.723 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.3652, allocations: 1.222 MB / 1.321 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3652, allocations: 0 / 1.321 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3652, allocations: 0 / 1.321 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.3652, allocations: 3.938 kB / 1.321 GB, free: 0.4922 MB / 1.014 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.00233/0.3675, allocations: 1.187 MB / 1.322 GB, free: 15.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.3676, allocations: 8.922 kB / 1.322 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001458/0.3677, allocations: 118.7 kB / 1.322 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.3693, allocations: 244.1 kB / 1.322 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.3704, allocations: 0.6003 MB / 1.323 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.3705, allocations: 45.69 kB / 1.323 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.3706, allocations: 68.34 kB / 1.323 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.3723, allocations: 1.085 MB / 1.324 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.3723, allocations: 11.94 kB / 1.324 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.417e-05/0.3724, allocations: 28 kB / 1.324 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001702/0.3725, allocations: 85.25 kB / 1.324 GB, free: 12.81 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.3738, allocations: 0.7581 MB / 1.325 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006705/0.3805, allocations: 5.871 MB / 1.33 GB, free: 5.762 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.3816, allocations: 0.5159 MB / 1.331 GB, free: 5.238 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.382, allocations: 290 kB / 1.331 GB, free: 4.953 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.3821, allocations: 4.438 kB / 1.331 GB, free: 4.949 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.3821, allocations: 43 kB / 1.331 GB, free: 4.898 MB / 1.029 GB Notification: Performance of pre-optimization done (n=47): time 3.146e-06/0.3821, allocations: 0 / 1.331 GB, free: 4.898 MB / 1.029 GB Notification: Performance of matching and sorting (n=48): time 0.004089/0.3862, allocations: 1.984 MB / 1.333 GB, free: 2.82 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.3863, allocations: 63.84 kB / 1.333 GB, free: 2.746 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.387, allocations: 0.5547 MB / 1.334 GB, free: 2.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.387, allocations: 33.7 kB / 1.334 GB, free: 2.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.3873, allocations: 428 kB / 1.334 GB, free: 1.715 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.3875, allocations: 178.5 kB / 1.334 GB, free: 1.539 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.3877, allocations: 122.6 kB / 1.335 GB, free: 1.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.3879, allocations: 378.7 kB / 1.335 GB, free: 1.031 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.3884, allocations: 277.8 kB / 1.335 GB, free: 0.7617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006243/0.389, allocations: 0.4892 MB / 1.336 GB, free: 180 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.3901, allocations: 0.8016 MB / 1.336 GB, free: 15.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3901, allocations: 4 kB / 1.336 GB, free: 15.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001946/0.3921, allocations: 1.079 MB / 1.337 GB, free: 14.17 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.3921, allocations: 11.94 kB / 1.337 GB, free: 14.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.3921, allocations: 8 kB / 1.338 GB, free: 14.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008729/0.393, allocations: 283.6 kB / 1.338 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.3935, allocations: 123.8 kB / 1.338 GB, free: 13.74 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007536/0.401, allocations: 7.139 MB / 1.345 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006796/0.4017, allocations: 43.91 kB / 1.345 GB, free: 5.996 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.4017, allocations: 24 kB / 1.345 GB, free: 5.973 MB / 1.045 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.0004499/0.4022, allocations: 257.6 kB / 1.345 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4023, allocations: 75.53 kB / 1.345 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001706/0.404, allocations: 0.8768 MB / 1.346 GB, free: 4.742 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.404, allocations: 12 kB / 1.346 GB, free: 4.73 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.404, allocations: 4 kB / 1.346 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.404, allocations: 3.984 kB / 1.346 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.407, allocations: 1.717 MB / 1.348 GB, free: 2.918 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.407, allocations: 3.938 kB / 1.348 GB, free: 2.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.4072, allocations: 59.89 kB / 1.348 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007949/0.408, allocations: 271.3 kB / 1.348 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.4081, allocations: 8 kB / 1.348 GB, free: 2.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007392/0.4155, allocations: 7.128 MB / 1.355 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4155, allocations: 0 / 1.355 GB, free: 10.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.4172, allocations: 0.9799 MB / 1.356 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.4175, allocations: 188.6 kB / 1.356 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.4176, allocations: 19.88 kB / 1.356 GB, free: 9.633 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000344/0.418, allocations: 31.95 kB / 1.356 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.4181, allocations: 35.95 kB / 1.356 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.4181, allocations: 16 kB / 1.356 GB, free: 9.551 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004641/0.4186, allocations: 383.1 kB / 1.357 GB, free: 9.18 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4186, allocations: 7.938 kB / 1.357 GB, free: 9.172 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008653/0.4195, allocations: 224 kB / 1.357 GB, free: 8.953 MB / 1.061 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.002011/0.4215, allocations: 1.536 MB / 1.358 GB, free: 7.355 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.4237, allocations: 1.236 MB / 1.36 GB, free: 6.074 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4237, allocations: 0 / 1.36 GB, free: 6.074 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/0.425, allocations: 0.8622 MB / 1.36 GB, free: 5.16 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4261, allocations: 231.8 kB / 1.361 GB, free: 4.938 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009628/0.4357, allocations: 6.353 MB / 1.367 GB, free: 14.25 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008196/0.4365, allocations: 1.009 MB / 1.368 GB, free: 13.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004734/0.437, allocations: 122 kB / 1.368 GB, free: 13.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.4374, allocations: 251.3 kB / 1.368 GB, free: 12.84 MB / 1.076 GB Notification: Performance of SimCode: time 1.132e-06/0.4374, allocations: 0 / 1.368 GB, free: 12.84 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05995/0.4973, allocations: 17.5 MB / 1.385 GB, free: 11.63 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.53, allocations: 11.56 kB / 1.385 GB, free: 11.62 MB / 1.092 GB " [Timeout remaining time 288] (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_2/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: 18.277958429418504]