Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001763/0.001763, 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.002167/0.002167, allocations: 210.9 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.525/1.525, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.329/3.329, allocations: 0.505 GB / 0.8108 GB, free: 22.07 MB / 0.6231 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: 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_latest_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_latest_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.002036/0.002036, allocations: 73.59 kB / 1.178 GB, free: 16.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3703, allocations: 180.2 MB / 1.354 GB, free: 7.988 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008919/0.3792, allocations: 6.351 MB / 1.36 GB, free: 1.613 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.005867/0.3851, allocations: 3.309 MB / 1.364 GB, free: 14.29 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005897/0.3857, allocations: 39.62 kB / 1.364 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002644/0.3883, allocations: 0.9825 MB / 1.365 GB, free: 13.27 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.3897, allocations: 0.4897 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.3911, allocations: 482 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001478/0.3925, allocations: 1.096 MB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008415/0.3934, allocations: 0.5178 MB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000729/0.3941, allocations: 454.3 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007276/0.3948, allocations: 0.4942 MB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3949, allocations: 59.98 kB / 1.368 GB, free: 9.688 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009904/0.3959, allocations: 495 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003098/0.3962, allocations: 295.2 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004095/0.3967, allocations: 401.9 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.3982, allocations: 1.183 MB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3982, allocations: 0 / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3982, allocations: 0 / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.3982, allocations: 0 / 1.37 GB, free: 7.332 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001758/0.4, allocations: 0.9987 MB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4, allocations: 8.031 kB / 1.371 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.4015, allocations: 232.1 kB / 1.371 GB, free: 6.062 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/0.4025, allocations: 0.5165 MB / 1.372 GB, free: 5.523 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.4025, allocations: 41.69 kB / 1.372 GB, free: 5.48 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.4026, allocations: 60.36 kB / 1.372 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.4041, allocations: 1.034 MB / 1.373 GB, free: 4.281 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.4041, allocations: 11.88 kB / 1.373 GB, free: 4.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/0.4042, allocations: 35.98 kB / 1.373 GB, free: 4.234 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.324e-05/0.4043, allocations: 61.28 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.4054, allocations: 0.6918 MB / 1.374 GB, free: 3.484 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005929/0.4113, allocations: 5.666 MB / 1.379 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007946/0.4121, allocations: 407 kB / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.4129, allocations: 388.6 kB / 1.38 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.413, allocations: 4.688 kB / 1.38 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.413, allocations: 34.56 kB / 1.38 GB, free: 12.56 MB / 1.076 GB Notification: Performance of pre-optimization done (n=41): time 1.913e-06/0.413, allocations: 0 / 1.38 GB, free: 12.56 MB / 1.076 GB Notification: Performance of matching and sorting (n=42): time 0.004267/0.4173, allocations: 1.709 MB / 1.382 GB, free: 10.83 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.4173, allocations: 59.34 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.4178, allocations: 462.7 kB / 1.382 GB, free: 10.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.4179, allocations: 29.7 kB / 1.382 GB, free: 10.26 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.4182, allocations: 400.1 kB / 1.383 GB, free: 9.867 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.4183, allocations: 158.6 kB / 1.383 GB, free: 9.711 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000168/0.4185, allocations: 110.2 kB / 1.383 GB, free: 9.598 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4187, allocations: 370.8 kB / 1.383 GB, free: 9.227 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.4191, allocations: 245.2 kB / 1.384 GB, free: 8.988 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.4196, allocations: 449 kB / 1.384 GB, free: 8.453 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.4206, allocations: 0.7524 MB / 1.385 GB, free: 7.605 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4206, allocations: 0 / 1.385 GB, free: 7.605 MB / 1.076 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001939/0.4226, allocations: 1.027 MB / 1.386 GB, free: 6.559 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.4226, allocations: 8 kB / 1.386 GB, free: 6.551 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.4226, allocations: 8.094 kB / 1.386 GB, free: 6.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.4236, allocations: 327 kB / 1.386 GB, free: 6.211 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.424, allocations: 99.81 kB / 1.386 GB, free: 6.113 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00789/0.4319, allocations: 7.076 MB / 1.393 GB, free: 14.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004826/0.4323, allocations: 32.02 kB / 1.393 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.4324, allocations: 28 kB / 1.393 GB, free: 14.52 MB / 1.092 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.0003967/0.4328, allocations: 249.9 kB / 1.393 GB, free: 14.27 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.4329, allocations: 67.56 kB / 1.393 GB, free: 14.2 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.4347, allocations: 0.8726 MB / 1.394 GB, free: 13.3 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.4347, allocations: 8 kB / 1.394 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.4347, allocations: 4 kB / 1.394 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.4347, allocations: 3.984 kB / 1.394 GB, free: 13.29 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.4375, allocations: 1.629 MB / 1.396 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.4375, allocations: 4 kB / 1.396 GB, free: 11.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.4377, allocations: 39.91 kB / 1.396 GB, free: 11.53 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009501/0.4387, allocations: 311.3 kB / 1.396 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.4387, allocations: 8 kB / 1.396 GB, free: 11.21 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007632/0.4463, allocations: 7.061 MB / 1.403 GB, free: 3.688 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.4463, allocations: 3.938 kB / 1.403 GB, free: 3.684 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.4481, allocations: 0.9797 MB / 1.404 GB, free: 2.656 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.4484, allocations: 95.58 kB / 1.404 GB, free: 2.562 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.845e-05/0.4485, allocations: 12 kB / 1.404 GB, free: 2.551 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.4487, allocations: 19.97 kB / 1.404 GB, free: 2.531 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.4488, allocations: 55.8 kB / 1.404 GB, free: 2.477 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.516e-05/0.4489, allocations: 11.94 kB / 1.404 GB, free: 2.465 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003784/0.4493, allocations: 310.9 kB / 1.405 GB, free: 2.164 MB / 1.092 GB Notification: Performance of sort global known variables: time 7e-08/0.4493, allocations: 0 / 1.405 GB, free: 2.164 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000792/0.45, allocations: 192 kB / 1.405 GB, free: 1.977 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 (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.0001602/0.4502, allocations: 111.2 kB / 1.405 GB, free: 1.855 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001895/0.4521, allocations: 1.152 MB / 1.406 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4521, allocations: 0 / 1.406 GB, free: 0.6523 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.4534, allocations: 0.8264 MB / 1.407 GB, free: 15.77 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009862/0.4543, allocations: 221.2 kB / 1.407 GB, free: 15.57 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.4565, allocations: 1.3 MB / 1.408 GB, free: 14.21 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006766/0.4572, allocations: 0.9842 MB / 1.409 GB, free: 13.2 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.4573, allocations: 43.42 kB / 1.409 GB, free: 13.16 MB / 1.107 GB Notification: Performance of SimCode: time 7.91e-07/0.4573, allocations: 0 / 1.409 GB, free: 13.16 MB / 1.107 GB Notification: Performance of Templates: time 0.02332/0.4806, allocations: 18.52 MB / 1.427 GB, free: 10.67 MB / 1.123 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.410566522012232]