Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.00193/0.00193, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.002295/0.002295, allocations: 157.8 kB / 23 MB, free: 4.961 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.421/1.421, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.896/2.896, allocations: 394.2 MB / 0.6386 GB, free: 11.98 MB / 0.6075 GB " [Timeout remaining time 177] 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,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") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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") [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.002222/0.002222, allocations: 71.88 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.753, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01058/0.7636, allocations: 10.34 MB / 1.197 GB, free: 9.617 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.7745, allocations: 8.509 MB / 1.205 GB, free: 4.145 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007522/0.7752, allocations: 86.41 kB / 1.205 GB, free: 4.098 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00384/0.7791, allocations: 1.661 MB / 1.207 GB, free: 3.164 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.7824, allocations: 1.575 MB / 1.208 GB, free: 2.223 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.7839, allocations: 0.6733 MB / 1.209 GB, free: 1.871 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.786, allocations: 2.281 MB / 1.211 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.7873, allocations: 1.147 MB / 1.212 GB, free: 188 kB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.7889, allocations: 1.183 MB / 1.213 GB, free: 15.71 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.7902, allocations: 0.9247 MB / 1.214 GB, free: 15.35 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.7904, allocations: 139 kB / 1.214 GB, free: 15.34 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.7918, allocations: 0.733 MB / 1.215 GB, free: 15.14 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006103/0.7924, allocations: 0.5754 MB / 1.216 GB, free: 14.87 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008759/0.7933, allocations: 0.7103 MB / 1.216 GB, free: 14.5 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003002/0.7963, allocations: 2.584 MB / 1.219 GB, free: 13.59 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7963, allocations: 0 / 1.219 GB, free: 13.59 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7963, allocations: 3.938 kB / 1.219 GB, free: 13.59 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.7963, allocations: 0 / 1.219 GB, free: 13.59 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003516/0.7999, allocations: 1.989 MB / 1.221 GB, free: 12.33 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.7999, allocations: 9.719 kB / 1.221 GB, free: 12.33 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.8117, allocations: 2.064 MB / 1.223 GB, free: 12.2 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0022/0.8139, allocations: 1.121 MB / 1.224 GB, free: 11.55 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.8139, allocations: 93.23 kB / 1.224 GB, free: 11.5 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.8142, allocations: 124.5 kB / 1.224 GB, free: 11.45 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005975/0.8201, allocations: 2.687 MB / 1.227 GB, free: 10.2 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.8202, allocations: 8.359 kB / 1.227 GB, free: 10.2 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/0.8204, allocations: 53.33 kB / 1.227 GB, free: 10.16 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003698/0.8207, allocations: 132.7 kB / 1.227 GB, free: 10.14 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007732/0.8285, allocations: 2.538 MB / 1.23 GB, free: 9.52 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.8412, allocations: 7.473 MB / 1.237 GB, free: 4.105 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006559/0.8477, allocations: 1.852 MB / 1.239 GB, free: 3.168 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002867/0.8506, allocations: 0.9558 MB / 1.24 GB, free: 2.68 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.8506, allocations: 6 kB / 1.24 GB, free: 2.68 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.8507, allocations: 39.19 kB / 1.24 GB, free: 2.637 MB / 1.092 GB Notification: Performance of pre-optimization done (n=53): time 2.205e-06/0.8507, allocations: 0 / 1.24 GB, free: 2.637 MB / 1.092 GB Notification: Performance of matching and sorting (n=81): time 0.03352/0.8842, allocations: 9.106 MB / 1.248 GB, free: 14.2 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.8843, allocations: 63.53 kB / 1.249 GB, free: 14.14 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.8855, allocations: 0.9575 MB / 1.249 GB, free: 13.6 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.8856, allocations: 44.2 kB / 1.25 GB, free: 13.55 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/0.8862, allocations: 0.7648 MB / 1.25 GB, free: 12.87 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.8865, allocations: 293.1 kB / 1.251 GB, free: 12.62 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004073/0.8869, allocations: 203.6 kB / 1.251 GB, free: 12.5 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.8871, allocations: 347.9 kB / 1.251 GB, free: 12.16 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/0.8902, allocations: 1.081 MB / 1.252 GB, free: 11.61 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.8936, allocations: 1.32 MB / 1.253 GB, free: 10.77 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006483/0.9001, allocations: 2.402 MB / 1.256 GB, free: 9.359 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.9001, allocations: 1.031 kB / 1.256 GB, free: 9.359 MB / 1.107 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009345/0.9094, allocations: 3.281 MB / 1.259 GB, free: 7.566 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9094, allocations: 10.47 kB / 1.259 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.9094, allocations: 7.719 kB / 1.259 GB, free: 7.566 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003099/0.9125, allocations: 0.8524 MB / 1.26 GB, free: 7.109 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.9146, allocations: 417.2 kB / 1.26 GB, free: 6.945 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01782/0.9324, allocations: 15.02 MB / 1.275 GB, free: 9.867 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.9347, allocations: 298.5 kB / 1.275 GB, free: 9.727 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.9349, allocations: 53.92 kB / 1.275 GB, free: 9.707 MB / 1.123 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.000794/0.9357, allocations: 400 kB / 1.276 GB, free: 9.422 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002498/0.9359, allocations: 135.7 kB / 1.276 GB, free: 9.352 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009679/0.9456, allocations: 3.207 MB / 1.279 GB, free: 6.125 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.9456, allocations: 12 kB / 1.279 GB, free: 6.113 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.9456, allocations: 8 kB / 1.279 GB, free: 6.105 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.9456, allocations: 3.984 kB / 1.279 GB, free: 6.102 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.9574, allocations: 4.527 MB / 1.283 GB, free: 1.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.9574, allocations: 3.984 kB / 1.283 GB, free: 1.477 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.9592, allocations: 355.3 kB / 1.284 GB, free: 1.129 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002815/0.962, allocations: 0.772 MB / 1.284 GB, free: 340 kB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.726e-05/0.9621, allocations: 31.97 kB / 1.284 GB, free: 308 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01721/0.9794, allocations: 14.65 MB / 1.299 GB, free: 0.832 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.9794, allocations: 8.328 kB / 1.299 GB, free: 0.8242 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008808/0.9882, allocations: 3.043 MB / 1.302 GB, free: 13.7 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007394/0.9889, allocations: 298.9 kB / 1.302 GB, free: 13.41 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.9891, allocations: 20 kB / 1.302 GB, free: 13.39 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00196/0.9911, allocations: 287.5 kB / 1.302 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/0.9913, allocations: 84.44 kB / 1.302 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.9914, allocations: 43.91 kB / 1.302 GB, free: 12.98 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0008776/0.9922, allocations: 0.6385 MB / 1.303 GB, free: 12.34 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.9922, allocations: 0 / 1.303 GB, free: 12.34 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001516/0.9938, allocations: 443.9 kB / 1.303 GB, free: 11.91 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002367/0.994, allocations: 127.1 kB / 1.304 GB, free: 11.77 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009063/1.003, allocations: 3.554 MB / 1.307 GB, free: 8.113 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.003, allocations: 0 / 1.307 GB, free: 8.113 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005318/1.008, allocations: 2.328 MB / 1.309 GB, free: 5.684 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.01, allocations: 489.3 kB / 1.31 GB, free: 5.223 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/1.02, allocations: 3.783 MB / 1.313 GB, free: 1.383 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009755/1.021, allocations: 0.8015 MB / 1.314 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001178/1.022, allocations: 366.6 kB / 1.315 GB, free: 180 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/1.022, allocations: 92.44 kB / 1.315 GB, free: 88 kB / 1.154 GB Notification: Performance of SimCode: time 5.01e-07/1.022, allocations: 0 / 1.315 GB, free: 88 kB / 1.154 GB Notification: Performance of Templates: time 0.04955/1.072, allocations: 31.4 MB / 1.345 GB, free: 1.293 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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: 9.493455235962756]