Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.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.001783/0.001783, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002367/0.002367, allocations: 213.7 kB / 23.01 MB, free: 4.566 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.674/2.674, allocations: 476.8 MB / 0.7714 GB, free: 4.285 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: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [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.002054/0.002054, allocations: 67.45 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3813, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008943/0.3903, allocations: 6.363 MB / 1.291 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005891/0.3962, allocations: 3.301 MB / 1.294 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006384/0.3968, allocations: 39.62 kB / 1.294 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.3995, allocations: 0.9642 MB / 1.295 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4009, allocations: 497.5 kB / 1.295 GB, free: 88 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.4022, allocations: 0.491 MB / 1.296 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001523/0.4038, allocations: 1.093 MB / 1.297 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008798/0.4046, allocations: 0.5177 MB / 1.298 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007751/0.4054, allocations: 454.4 kB / 1.298 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007198/0.4061, allocations: 498.1 kB / 1.298 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.103e-05/0.4062, allocations: 60 kB / 1.299 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.4072, allocations: 0.495 MB / 1.299 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003123/0.4075, allocations: 283.2 kB / 1.299 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.408, allocations: 401.9 kB / 1.3 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.4095, allocations: 1.183 MB / 1.301 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4095, allocations: 0 / 1.301 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4095, allocations: 0 / 1.301 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.4095, allocations: 0 / 1.301 GB, free: 10.63 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001751/0.4113, allocations: 1.01 MB / 1.302 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4113, allocations: 8.031 kB / 1.302 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.4128, allocations: 220.2 kB / 1.302 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009916/0.4137, allocations: 0.5166 MB / 1.303 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/0.4138, allocations: 45.67 kB / 1.303 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4139, allocations: 68.31 kB / 1.303 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.4155, allocations: 1.034 MB / 1.304 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.4155, allocations: 7.938 kB / 1.304 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.236e-05/0.4156, allocations: 27.98 kB / 1.304 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001066/0.4157, allocations: 69.27 kB / 1.304 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.4168, allocations: 0.6918 MB / 1.304 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006269/0.4231, allocations: 5.662 MB / 1.31 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.4239, allocations: 410.3 kB / 1.31 GB, free: 284 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008374/0.4248, allocations: 401.8 kB / 1.311 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.4248, allocations: 4 kB / 1.311 GB, free: 15.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.4248, allocations: 42.56 kB / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of pre-optimization done (n=41): time 3.136e-06/0.4248, allocations: 0 / 1.311 GB, free: 15.83 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.004229/0.4291, allocations: 1.702 MB / 1.312 GB, free: 14.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.4291, allocations: 59.41 kB / 1.312 GB, free: 14.04 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005328/0.4296, allocations: 454.8 kB / 1.313 GB, free: 13.58 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.4297, allocations: 37.7 kB / 1.313 GB, free: 13.54 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002973/0.43, allocations: 400 kB / 1.313 GB, free: 13.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.4301, allocations: 162.6 kB / 1.313 GB, free: 12.98 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.4303, allocations: 110.3 kB / 1.314 GB, free: 12.87 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.4305, allocations: 358.8 kB / 1.314 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003622/0.4309, allocations: 245.2 kB / 1.314 GB, free: 12.27 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005456/0.4314, allocations: 457 kB / 1.315 GB, free: 11.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/0.4324, allocations: 0.7479 MB / 1.315 GB, free: 10.89 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.4324, allocations: 7.938 kB / 1.315 GB, free: 10.88 MB / 1.014 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001851/0.4342, allocations: 1.03 MB / 1.316 GB, free: 9.828 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.4343, allocations: 8.875 kB / 1.316 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.4343, allocations: 8 kB / 1.316 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009927/0.4353, allocations: 319 kB / 1.317 GB, free: 9.488 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.4356, allocations: 99.81 kB / 1.317 GB, free: 9.391 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007756/0.4434, allocations: 7.053 MB / 1.324 GB, free: 1.875 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.4438, allocations: 32.02 kB / 1.324 GB, free: 1.844 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.4439, allocations: 27.94 kB / 1.324 GB, free: 1.816 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003869/0.4443, allocations: 241.6 kB / 1.324 GB, free: 1.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.4444, allocations: 67.56 kB / 1.324 GB, free: 1.504 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.4461, allocations: 0.8804 MB / 1.325 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.4461, allocations: 4 kB / 1.325 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.4461, allocations: 4 kB / 1.325 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.4461, allocations: 3.984 kB / 1.325 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002791/0.4489, allocations: 1.639 MB / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.4489, allocations: 4 kB / 1.326 GB, free: 14.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.4491, allocations: 39.97 kB / 1.327 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008873/0.45, allocations: 307.1 kB / 1.327 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.45, allocations: 12 kB / 1.327 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007671/0.4577, allocations: 7.061 MB / 1.334 GB, free: 6.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.4577, allocations: 11.88 kB / 1.334 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.4595, allocations: 0.984 MB / 1.335 GB, free: 5.938 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.4598, allocations: 103.6 kB / 1.335 GB, free: 5.836 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.4599, allocations: 8 kB / 1.335 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.4601, allocations: 15.98 kB / 1.335 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.4602, allocations: 47.86 kB / 1.335 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.4603, allocations: 16 kB / 1.335 GB, free: 5.75 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003903/0.4607, allocations: 306.9 kB / 1.335 GB, free: 5.453 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4607, allocations: 0 / 1.335 GB, free: 5.453 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007939/0.4615, allocations: 196 kB / 1.335 GB, free: 5.262 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001663/0.4616, allocations: 109.6 kB / 1.335 GB, free: 5.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.4636, allocations: 1.148 MB / 1.337 GB, free: 3.945 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4636, allocations: 4 kB / 1.337 GB, free: 3.941 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4648, allocations: 0.8425 MB / 1.337 GB, free: 3.047 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009445/0.4657, allocations: 216.6 kB / 1.338 GB, free: 2.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.468, allocations: 1.295 MB / 1.339 GB, free: 1.496 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007045/0.4687, allocations: 0.9959 MB / 1.34 GB, free: 484 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.692e-05/0.4688, allocations: 35.44 kB / 1.34 GB, free: 448 kB / 1.029 GB Notification: Performance of SimCode: time 1.192e-06/0.4688, allocations: 0 / 1.34 GB, free: 448 kB / 1.029 GB Notification: Performance of Templates: time 0.02383/0.4926, allocations: 18.53 MB / 1.358 GB, free: 13.94 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,R1.v[1],R1.v[2],R2.v[1],R2.v[2],R3.v[1],R3.v[2],R1.i[1],R1.i[2],load_sc.i[1],load_sc.i[2],R2.i[1],R2.i[2],R3.i[1],R3.i[2] Variables in the result:R1.i[1],R1.i[2],R1.v[1],R1.v[2],R2.i[1],R2.i[2],R2.v[1],R2.v[2],R3.i[1],R3.i[2],R3.v[1],R3.v[2],load_sc.i[1],load_sc.i[2],time [Calling sys.exit(0), Time elapsed: 13.637241433985764]