Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0008134/0.0008134, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001115/0.001928, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006896/0.0006896, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009642/0.001654, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9202/0.9202, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08289/1.003, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.36/2.36, allocations: 447.1 MB / 0.675 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2534/2.614, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.03e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008317/0.008337, allocations: 4.898 MB / 0.8237 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005666/0.014, allocations: 1.761 MB / 0.8254 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.01429, allocations: 39.62 kB / 0.8255 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.01481, allocations: 238.3 kB / 0.8257 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.0164, allocations: 0.5007 MB / 0.8262 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004921/0.01689, allocations: 375.2 kB / 0.8265 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0009088/0.0178, allocations: 1.357 MB / 0.8279 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.01834, allocations: 0.5392 MB / 0.8284 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006127/0.01896, allocations: 0.7333 MB / 0.8291 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005236/0.01948, allocations: 0.5298 MB / 0.8296 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 6.963e-05/0.01955, allocations: 64 kB / 0.8297 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.01977, allocations: 147.7 kB / 0.8298 GB, free: 7.258 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.01995, allocations: 295.2 kB / 0.8301 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.02015, allocations: 255.5 kB / 0.8303 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.02071, allocations: 0.6851 MB / 0.831 GB, free: 6.031 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.02072, allocations: 7.938 kB / 0.831 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.663e-06/0.02072, allocations: 0 / 0.831 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.02074, allocations: 0 / 0.831 GB, free: 6.023 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001119/0.02186, allocations: 1.216 MB / 0.8322 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.02189, allocations: 11.97 kB / 0.8322 GB, free: 4.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007273/0.02262, allocations: 341.5 kB / 0.8325 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005161/0.02313, allocations: 0.495 MB / 0.833 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.02317, allocations: 53.67 kB / 0.8331 GB, free: 3.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/0.02324, allocations: 60.38 kB / 0.8331 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006833/0.02392, allocations: 0.9607 MB / 0.8341 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.02395, allocations: 8.109 kB / 0.8341 GB, free: 2.641 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.02399, allocations: 40.36 kB / 0.8341 GB, free: 2.602 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.762e-05/0.02408, allocations: 81.2 kB / 0.8342 GB, free: 2.523 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002748/0.02435, allocations: 256.6 kB / 0.8344 GB, free: 2.273 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002325/0.02668, allocations: 3.922 MB / 0.8383 GB, free: 14.21 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.02704, allocations: 285.8 kB / 0.8385 GB, free: 13.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.02714, allocations: 90.33 kB / 0.8386 GB, free: 13.82 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.574e-05/0.02717, allocations: 8.5 kB / 0.8386 GB, free: 13.81 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.02719, allocations: 43.06 kB / 0.8387 GB, free: 13.76 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.823e-06/0.02719, allocations: 0 / 0.8387 GB, free: 13.76 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001288/0.02848, allocations: 0.8121 MB / 0.8395 GB, free: 12.93 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.0285, allocations: 63.91 kB / 0.8395 GB, free: 12.86 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.02875, allocations: 478.9 kB / 0.84 GB, free: 12.38 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.02878, allocations: 37.69 kB / 0.84 GB, free: 12.34 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.02895, allocations: 372.8 kB / 0.8404 GB, free: 11.96 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.669e-05/0.02903, allocations: 178.5 kB / 0.8406 GB, free: 11.79 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.02915, allocations: 122.5 kB / 0.8407 GB, free: 11.66 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.02925, allocations: 374.7 kB / 0.841 GB, free: 11.29 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.671e-05/0.02933, allocations: 69.97 kB / 0.8411 GB, free: 11.22 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.02952, allocations: 308.9 kB / 0.8414 GB, free: 10.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/0.02986, allocations: 470.3 kB / 0.8418 GB, free: 10.27 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.02986, allocations: 0 / 0.8418 GB, free: 10.27 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006009/0.03046, allocations: 0.5634 MB / 0.8424 GB, free: 9.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.03048, allocations: 9.25 kB / 0.8424 GB, free: 9.672 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.03049, allocations: 12.03 kB / 0.8424 GB, free: 9.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.03108, allocations: 286.4 kB / 0.8427 GB, free: 9.363 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.03133, allocations: 131.8 kB / 0.8428 GB, free: 9.234 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002751/0.03408, allocations: 5.306 MB / 0.848 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.03427, allocations: 20 kB / 0.848 GB, free: 3.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.03429, allocations: 24 kB / 0.848 GB, free: 3.496 MB / 0.823 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0001249/0.03442, allocations: 152.5 kB / 0.8482 GB, free: 3.336 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.37e-05/0.03448, allocations: 59.97 kB / 0.8482 GB, free: 3.277 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005211/0.035, allocations: 455.5 kB / 0.8487 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.03501, allocations: 4 kB / 0.8487 GB, free: 2.801 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.03501, allocations: 8 kB / 0.8487 GB, free: 2.793 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.03502, allocations: 0 / 0.8487 GB, free: 2.793 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009456/0.03596, allocations: 0.8891 MB / 0.8495 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.03596, allocations: 0 / 0.8495 GB, free: 1.844 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.03609, allocations: 55.92 kB / 0.8496 GB, free: 1.789 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.03619, allocations: 83.58 kB / 0.8497 GB, free: 1.707 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005245/0.03671, allocations: 274.9 kB / 0.8499 GB, free: 1.422 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.03673, allocations: 8 kB / 0.85 GB, free: 1.414 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002744/0.03948, allocations: 5.304 MB / 0.8551 GB, free: 11.72 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03948, allocations: 4.062 kB / 0.8551 GB, free: 11.71 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.04001, allocations: 0.5815 MB / 0.8557 GB, free: 11.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.026e-05/0.04005, allocations: 12.19 kB / 0.8557 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.04019, allocations: 12 kB / 0.8557 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.04025, allocations: 51.8 kB / 0.8558 GB, free: 11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.04027, allocations: 15.98 kB / 0.8558 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001262/0.04039, allocations: 200.4 kB / 0.856 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.04039, allocations: 4 kB / 0.856 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004214/0.04081, allocations: 228 kB / 0.8562 GB, free: 10.57 MB / 0.8386 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001068/0.04092, allocations: 104.3 kB / 0.8563 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000734/0.04165, allocations: 0.8939 MB / 0.8572 GB, free: 9.512 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.891e-05/0.04167, allocations: 12.5 kB / 0.8572 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005109/0.04218, allocations: 0.748 MB / 0.8579 GB, free: 8.699 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.0432, allocations: 1.988 MB / 0.8599 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00497/0.04817, allocations: 1.294 MB / 0.8611 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.0483, allocations: 207.4 kB / 0.8613 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000168/0.04847, allocations: 81.55 kB / 0.8614 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.04874, allocations: 217.2 kB / 0.8616 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of SimCode: time 7.71e-07/0.04874, allocations: 0 / 0.8616 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of Templates: time 0.01322/0.06195, allocations: 12.49 MB / 0.8738 GB, free: 8.176 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.383728925138712]