Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002011/0.002011, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002601/0.002601, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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,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_12_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_12_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.002083/0.002083, allocations: 69.06 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3782, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01571/0.3939, allocations: 10.33 MB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01562/0.4095, allocations: 8.503 MB / 1.344 GB, free: 14.99 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001548/0.411, allocations: 91.25 kB / 1.344 GB, free: 14.9 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005077/0.4161, allocations: 1.676 MB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005071/0.4212, allocations: 1.565 MB / 1.347 GB, free: 11.65 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.4233, allocations: 0.6766 MB / 1.348 GB, free: 10.97 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.003647/0.4269, allocations: 2.282 MB / 1.35 GB, free: 8.684 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002238/0.4292, allocations: 1.141 MB / 1.351 GB, free: 7.5 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.4317, allocations: 1.192 MB / 1.352 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.4338, allocations: 0.9256 MB / 1.353 GB, free: 5.375 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004595/0.4342, allocations: 136 kB / 1.353 GB, free: 5.242 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.4361, allocations: 0.7368 MB / 1.354 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008859/0.437, allocations: 0.5763 MB / 1.355 GB, free: 3.926 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.4385, allocations: 0.7114 MB / 1.355 GB, free: 3.211 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00481/0.4433, allocations: 2.584 MB / 1.358 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4433, allocations: 0 / 1.358 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4433, allocations: 0 / 1.358 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001345/0.4434, allocations: 0 / 1.358 GB, free: 0.6172 MB / 1.045 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.005673/0.4491, allocations: 1.979 MB / 1.36 GB, free: 14.6 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4492, allocations: 8.031 kB / 1.36 GB, free: 14.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01178/0.461, allocations: 2.059 MB / 1.362 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.464, allocations: 1.118 MB / 1.363 GB, free: 11.36 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.615e-05/0.464, allocations: 90.69 kB / 1.363 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.4643, allocations: 120.1 kB / 1.363 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005938/0.4703, allocations: 2.693 MB / 1.366 GB, free: 8.262 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.538e-05/0.4703, allocations: 15.88 kB / 1.366 GB, free: 8.246 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001563/0.4705, allocations: 51.98 kB / 1.366 GB, free: 8.195 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/0.4708, allocations: 126.1 kB / 1.366 GB, free: 8.07 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007572/0.4784, allocations: 2.545 MB / 1.368 GB, free: 5.516 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01344/0.4918, allocations: 7.461 MB / 1.376 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006419/0.4982, allocations: 1.85 MB / 1.378 GB, free: 12.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002911/0.5012, allocations: 0.9464 MB / 1.378 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.47e-05/0.5012, allocations: 16.31 kB / 1.378 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.5013, allocations: 42.98 kB / 1.378 GB, free: 11.01 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.354e-06/0.5013, allocations: 0 / 1.378 GB, free: 11.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03365/0.5349, allocations: 9.106 MB / 1.387 GB, free: 1.855 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.535, allocations: 60.06 kB / 1.387 GB, free: 1.785 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.5366, allocations: 0.9593 MB / 1.388 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.5367, allocations: 45.64 kB / 1.388 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006583/0.5374, allocations: 0.7621 MB / 1.389 GB, free: 15.99 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/0.5377, allocations: 293.5 kB / 1.389 GB, free: 15.7 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004032/0.5381, allocations: 206.5 kB / 1.39 GB, free: 15.49 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5383, allocations: 345.7 kB / 1.39 GB, free: 15.15 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003145/0.5414, allocations: 1.083 MB / 1.391 GB, free: 14.07 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/0.5449, allocations: 1.321 MB / 1.392 GB, free: 12.65 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00654/0.5514, allocations: 2.401 MB / 1.395 GB, free: 10.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.5514, allocations: 0 / 1.395 GB, free: 10.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009646/0.5611, allocations: 3.274 MB / 1.398 GB, free: 6.848 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.5611, allocations: 13.88 kB / 1.398 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.5611, allocations: 8 kB / 1.398 GB, free: 6.828 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003241/0.5643, allocations: 0.8535 MB / 1.399 GB, free: 5.949 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002098/0.5664, allocations: 415.2 kB / 1.399 GB, free: 5.543 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01967/0.5861, allocations: 15.02 MB / 1.414 GB, free: 5.707 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002414/0.5885, allocations: 299.5 kB / 1.414 GB, free: 5.414 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/0.5887, allocations: 51.91 kB / 1.414 GB, free: 5.363 MB / 1.107 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.000809/0.5895, allocations: 401.5 kB / 1.414 GB, free: 4.961 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002749/0.5898, allocations: 135.3 kB / 1.415 GB, free: 4.828 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009439/0.5992, allocations: 3.208 MB / 1.418 GB, free: 1.574 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.5993, allocations: 15.94 kB / 1.418 GB, free: 1.559 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.548e-05/0.5993, allocations: 8 kB / 1.418 GB, free: 1.551 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.5993, allocations: 3.984 kB / 1.418 GB, free: 1.547 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.6115, allocations: 4.531 MB / 1.422 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.6115, allocations: 4 kB / 1.422 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/0.6132, allocations: 351.4 kB / 1.423 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00284/0.616, allocations: 0.7715 MB / 1.423 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.6162, allocations: 35.95 kB / 1.423 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01809/0.6342, allocations: 14.64 MB / 1.438 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6342, allocations: 0 / 1.438 GB, free: 12.29 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009065/0.6433, allocations: 3.047 MB / 1.441 GB, free: 9.156 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.6444, allocations: 306.9 kB / 1.441 GB, free: 8.855 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.6446, allocations: 19.98 kB / 1.441 GB, free: 8.836 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001877/0.6465, allocations: 291.6 kB / 1.441 GB, free: 8.551 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002967/0.6468, allocations: 88.38 kB / 1.441 GB, free: 8.465 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.6469, allocations: 43.95 kB / 1.441 GB, free: 8.422 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001017/0.6479, allocations: 0.6346 MB / 1.442 GB, free: 7.781 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.6479, allocations: 0 / 1.442 GB, free: 7.781 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001567/0.6495, allocations: 440 kB / 1.442 GB, free: 7.352 MB / 1.139 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.0002764/0.6498, allocations: 133.2 kB / 1.442 GB, free: 7.215 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009392/0.6591, allocations: 3.551 MB / 1.446 GB, free: 3.562 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.6592, allocations: 0 / 1.446 GB, free: 3.562 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.005395/0.6646, allocations: 2.336 MB / 1.448 GB, free: 1.125 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/0.6673, allocations: 484.7 kB / 1.449 GB, free: 0.6719 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.6773, allocations: 3.792 MB / 1.452 GB, free: 12.81 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.6784, allocations: 0.8054 MB / 1.453 GB, free: 11.96 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001489/0.6799, allocations: 354.6 kB / 1.454 GB, free: 11.61 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.6803, allocations: 95.38 kB / 1.454 GB, free: 11.52 MB / 1.154 GB Notification: Performance of SimCode: time 1.553e-06/0.6803, allocations: 0 / 1.454 GB, free: 11.52 MB / 1.154 GB Notification: Performance of Templates: time 0.06009/0.7403, allocations: 33.4 MB / 1.486 GB, free: 10.76 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.427309507504106]