Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001875/0.001875, allocations: 107.6 kB / 18.95 MB, free: 2.812 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.002432/0.002432, allocations: 208.3 kB / 22.24 MB, free: 5.105 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.801 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.763/2.763, allocations: 476 MB / 0.7699 GB, free: 4.715 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_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_11_Buildings_Electrical_AC_OnePhase_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.002195/0.002195, allocations: 70.53 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3439, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008676/0.3526, allocations: 6.495 MB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005246/0.3578, allocations: 3.029 MB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006149/0.3584, allocations: 35.69 kB / 1.292 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002642/0.3611, allocations: 0.9493 MB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3625, allocations: 0.5206 MB / 1.293 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3638, allocations: 437.1 kB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.3655, allocations: 1.217 MB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009674/0.3664, allocations: 0.5295 MB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.3673, allocations: 490.3 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009742/0.3683, allocations: 0.5136 MB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.3685, allocations: 68 kB / 1.296 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008085/0.3693, allocations: 343.3 kB / 1.297 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000389/0.3697, allocations: 323.1 kB / 1.297 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.3701, allocations: 374.2 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001463/0.3716, allocations: 1.231 MB / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3716, allocations: 0 / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3716, allocations: 0 / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.584e-05/0.3716, allocations: 0 / 1.299 GB, free: 11.86 MB / 0.9981 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.002056/0.3737, allocations: 1.112 MB / 1.3 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.3737, allocations: 12.03 kB / 1.3 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001444/0.3738, allocations: 118.6 kB / 1.3 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/0.3753, allocations: 240.1 kB / 1.3 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.3764, allocations: 0.5308 MB / 1.301 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.471e-05/0.3764, allocations: 49.67 kB / 1.301 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.3766, allocations: 68.36 kB / 1.301 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.3783, allocations: 1.332 MB / 1.302 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.3783, allocations: 7.938 kB / 1.302 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.3784, allocations: 31.98 kB / 1.302 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.3786, allocations: 85.25 kB / 1.302 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.3798, allocations: 0.7465 MB / 1.303 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005577/0.3854, allocations: 4.632 MB / 1.307 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.3864, allocations: 0.5146 MB / 1.308 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.3869, allocations: 283.5 kB / 1.308 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.3869, allocations: 4.438 kB / 1.308 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.3869, allocations: 42.94 kB / 1.308 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.3869, allocations: 0 / 1.308 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.003812/0.3908, allocations: 1.69 MB / 1.31 GB, free: 15.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.3908, allocations: 59.78 kB / 1.31 GB, free: 15.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000676/0.3915, allocations: 0.5664 MB / 1.311 GB, free: 15.28 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.3915, allocations: 37.7 kB / 1.311 GB, free: 15.24 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.3918, allocations: 424 kB / 1.311 GB, free: 14.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.392, allocations: 182.5 kB / 1.311 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.3922, allocations: 126.6 kB / 1.311 GB, free: 14.51 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3924, allocations: 382.7 kB / 1.312 GB, free: 14.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.3928, allocations: 273.8 kB / 1.312 GB, free: 13.86 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005774/0.3934, allocations: 492.9 kB / 1.312 GB, free: 13.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3945, allocations: 0.8006 MB / 1.313 GB, free: 12.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.3945, allocations: 4 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001867/0.3963, allocations: 1.078 MB / 1.314 GB, free: 11.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3963, allocations: 9.875 kB / 1.314 GB, free: 11.28 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.3964, allocations: 8 kB / 1.314 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008328/0.3972, allocations: 279.6 kB / 1.314 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.3977, allocations: 123.8 kB / 1.315 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/0.4045, allocations: 6.693 MB / 1.321 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006144/0.4051, allocations: 31.97 kB / 1.321 GB, free: 3.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-05/0.4052, allocations: 36.06 kB / 1.321 GB, free: 3.645 MB / 1.014 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.000371/0.4056, allocations: 258.8 kB / 1.321 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.4057, allocations: 75.56 kB / 1.321 GB, free: 3.309 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001593/0.4073, allocations: 0.8729 MB / 1.322 GB, free: 2.414 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4073, allocations: 8 kB / 1.322 GB, free: 2.406 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4073, allocations: 4 kB / 1.322 GB, free: 2.402 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.4073, allocations: 3.984 kB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.41, allocations: 1.618 MB / 1.324 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.41, allocations: 3.938 kB / 1.324 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.4103, allocations: 64.12 kB / 1.324 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007465/0.4111, allocations: 275.3 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.4111, allocations: 8 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006747/0.4178, allocations: 6.667 MB / 1.331 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4178, allocations: 0 / 1.331 GB, free: 9.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.4195, allocations: 0.976 MB / 1.332 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.4199, allocations: 115.5 kB / 1.332 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.4199, allocations: 20 kB / 1.332 GB, free: 8.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/0.4203, allocations: 23.97 kB / 1.332 GB, free: 8.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4204, allocations: 47.86 kB / 1.332 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.335e-05/0.4205, allocations: 16 kB / 1.332 GB, free: 7.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004599/0.4209, allocations: 379.1 kB / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4209, allocations: 0 / 1.332 GB, free: 7.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000804/0.4217, allocations: 228 kB / 1.333 GB, free: 7.391 MB / 1.029 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.00192/0.4237, allocations: 1.544 MB / 1.334 GB, free: 5.785 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002097/0.4258, allocations: 1.232 MB / 1.335 GB, free: 4.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4258, allocations: 0 / 1.335 GB, free: 4.508 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.4271, allocations: 0.8739 MB / 1.336 GB, free: 3.582 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.4284, allocations: 223.3 kB / 1.336 GB, free: 3.371 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00997/0.4384, allocations: 6.363 MB / 1.343 GB, free: 12.66 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.4389, allocations: 419.3 kB / 1.343 GB, free: 12.23 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0004407/0.4393, allocations: 122 kB / 1.343 GB, free: 12.11 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.4397, allocations: 251.4 kB / 1.343 GB, free: 11.86 MB / 1.045 GB Notification: Performance of SimCode: time 1.262e-06/0.4397, allocations: 4 kB / 1.343 GB, free: 11.86 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06409/0.5038, allocations: 19.24 MB / 1.362 GB, free: 9.043 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.58, allocations: 4.875 kB / 1.362 GB, free: 9.039 MB / 1.061 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.217959949281067]