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.00187/0.00187, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002346/0.002346, allocations: 214 kB / 22.99 MB, free: 4.945 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.309/3.309, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 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.002162/0.002162, allocations: 72.78 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3812/0.3834, allocations: 181.9 MB / 1.365 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.00848/0.3919, allocations: 5.931 MB / 1.37 GB, free: 7.691 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00592/0.3978, allocations: 3.122 MB / 1.373 GB, free: 4.559 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006044/0.3984, allocations: 39.62 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002688/0.4011, allocations: 0.932 MB / 1.374 GB, free: 3.586 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.4024, allocations: 493.5 kB / 1.375 GB, free: 3.102 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.4037, allocations: 485.2 kB / 1.375 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.405, allocations: 1.096 MB / 1.376 GB, free: 1.527 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008774/0.4059, allocations: 0.514 MB / 1.377 GB, free: 1.004 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007163/0.4066, allocations: 458.3 kB / 1.377 GB, free: 0.5547 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.4073, allocations: 470.1 kB / 1.378 GB, free: 96 kB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.492e-05/0.4074, allocations: 60 kB / 1.378 GB, free: 36 kB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008557/0.4082, allocations: 443 kB / 1.378 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003197/0.4086, allocations: 291.1 kB / 1.379 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003468/0.4089, allocations: 334.4 kB / 1.379 GB, free: 14.99 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.4103, allocations: 1.187 MB / 1.38 GB, free: 13.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4104, allocations: 4 kB / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4104, allocations: 0 / 1.38 GB, free: 13.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.4104, allocations: 0 / 1.38 GB, free: 13.79 MB / 1.076 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.001707/0.4121, allocations: 0.9909 MB / 1.381 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4121, allocations: 12.03 kB / 1.381 GB, free: 12.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/0.4136, allocations: 228.1 kB / 1.381 GB, free: 12.53 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.4146, allocations: 0.5165 MB / 1.382 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.4147, allocations: 49.67 kB / 1.382 GB, free: 11.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.4148, allocations: 60.38 kB / 1.382 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.4164, allocations: 1.13 MB / 1.383 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.021e-05/0.4164, allocations: 15.88 kB / 1.383 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.4165, allocations: 24 kB / 1.383 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.4166, allocations: 73.22 kB / 1.383 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.4177, allocations: 0.6918 MB / 1.384 GB, free: 9.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005047/0.4227, allocations: 4.401 MB / 1.388 GB, free: 5.262 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008168/0.4235, allocations: 411.4 kB / 1.388 GB, free: 4.852 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008269/0.4244, allocations: 388.6 kB / 1.389 GB, free: 4.469 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.804e-05/0.4244, allocations: 4.688 kB / 1.389 GB, free: 4.465 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.4244, allocations: 42.55 kB / 1.389 GB, free: 4.414 MB / 1.076 GB Notification: Performance of pre-optimization done (n=41): time 2.855e-06/0.4244, allocations: 0 / 1.389 GB, free: 4.414 MB / 1.076 GB Notification: Performance of matching and sorting (n=42): time 0.004309/0.4288, allocations: 1.706 MB / 1.39 GB, free: 2.688 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.4288, allocations: 63.34 kB / 1.391 GB, free: 2.613 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.4293, allocations: 433.8 kB / 1.391 GB, free: 2.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.4293, allocations: 33.7 kB / 1.391 GB, free: 2.141 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.4297, allocations: 396 kB / 1.391 GB, free: 1.746 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.4298, allocations: 154.7 kB / 1.392 GB, free: 1.594 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.43, allocations: 106.2 kB / 1.392 GB, free: 1.484 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4302, allocations: 362.8 kB / 1.392 GB, free: 1.121 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.4305, allocations: 241.2 kB / 1.392 GB, free: 0.8828 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005557/0.4311, allocations: 465 kB / 1.393 GB, free: 344 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.4321, allocations: 0.7525 MB / 1.393 GB, free: 15.48 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4321, allocations: 0 / 1.393 GB, free: 15.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001943/0.4341, allocations: 1.023 MB / 1.394 GB, free: 14.44 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4341, allocations: 8 kB / 1.394 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4341, allocations: 8 kB / 1.394 GB, free: 14.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.4351, allocations: 319.6 kB / 1.395 GB, free: 14.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.4354, allocations: 99.7 kB / 1.395 GB, free: 14 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007591/0.443, allocations: 6.944 MB / 1.402 GB, free: 6.648 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004923/0.4435, allocations: 28.02 kB / 1.402 GB, free: 6.621 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.4436, allocations: 32 kB / 1.402 GB, free: 6.59 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.0004129/0.444, allocations: 241.5 kB / 1.402 GB, free: 6.344 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.4441, allocations: 55.81 kB / 1.402 GB, free: 6.289 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/0.4458, allocations: 0.8763 MB / 1.403 GB, free: 5.395 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4459, allocations: 4 kB / 1.403 GB, free: 5.391 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4459, allocations: 4 kB / 1.403 GB, free: 5.387 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.4459, allocations: 7.922 kB / 1.403 GB, free: 5.379 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.4485, allocations: 1.489 MB / 1.404 GB, free: 3.82 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4486, allocations: 4 kB / 1.404 GB, free: 3.816 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.4487, allocations: 40.03 kB / 1.404 GB, free: 3.777 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009472/0.4497, allocations: 319.1 kB / 1.405 GB, free: 3.453 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.4497, allocations: 8 kB / 1.405 GB, free: 3.445 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/0.4571, allocations: 6.923 MB / 1.411 GB, free: 12.11 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/0.4571, allocations: 12.02 kB / 1.411 GB, free: 12.1 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.4589, allocations: 0.9719 MB / 1.412 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002985/0.4592, allocations: 99.52 kB / 1.412 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.4592, allocations: 11.98 kB / 1.412 GB, free: 10.97 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.4595, allocations: 27.92 kB / 1.412 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.4597, allocations: 43.86 kB / 1.412 GB, free: 10.9 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.4597, allocations: 12 kB / 1.413 GB, free: 10.89 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003509/0.46, allocations: 286.9 kB / 1.413 GB, free: 10.61 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/0.46, allocations: 0 / 1.413 GB, free: 10.61 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008053/0.4608, allocations: 192 kB / 1.413 GB, free: 10.43 MB / 1.107 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.0001577/0.461, allocations: 107.2 kB / 1.413 GB, free: 10.31 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.4629, allocations: 1.148 MB / 1.414 GB, free: 9.113 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4629, allocations: 4 kB / 1.414 GB, free: 9.109 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.4642, allocations: 0.8305 MB / 1.415 GB, free: 8.227 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.4652, allocations: 193.3 kB / 1.415 GB, free: 8.047 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.4674, allocations: 1.323 MB / 1.416 GB, free: 6.676 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.4679, allocations: 382.7 kB / 1.417 GB, free: 6.277 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.468, allocations: 47.42 kB / 1.417 GB, free: 6.23 MB / 1.107 GB Notification: Performance of SimCode: time 1.022e-06/0.468, allocations: 0 / 1.417 GB, free: 6.23 MB / 1.107 GB Notification: Performance of Templates: time 0.02362/0.4916, allocations: 18.61 MB / 1.435 GB, free: 3.645 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.240445038769394]