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.0007026/0.0007026, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002067, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009227/0.0009227, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002346, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9198/0.9198, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09609/1.016, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.421/2.421, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2628/2.684, allocations: 145.9 MB / 0.817 GB, free: 4.211 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.663e-06/1.663e-06, allocations: 0 / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332e-05/1.498e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006028/0.006043, allocations: 4.886 MB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003044/0.009087, allocations: 1.773 MB / 0.8248 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.009393, allocations: 35.69 kB / 0.8248 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005028/0.009895, allocations: 226.4 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007067/0.0106, allocations: 0.5085 MB / 0.8255 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000674/0.01128, allocations: 371.2 kB / 0.8259 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001226/0.0125, allocations: 1.357 MB / 0.8272 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008936/0.0134, allocations: 0.5393 MB / 0.8278 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008684/0.01426, allocations: 0.7411 MB / 0.8285 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006682/0.01493, allocations: 0.522 MB / 0.829 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.276e-05/0.01503, allocations: 64 kB / 0.829 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.01523, allocations: 143.7 kB / 0.8292 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.01549, allocations: 303.2 kB / 0.8295 GB, free: 7.398 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.01579, allocations: 255.5 kB / 0.8297 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007442/0.01654, allocations: 0.6928 MB / 0.8304 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.71e-05/0.01655, allocations: 0 / 0.8304 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.342e-06/0.01655, allocations: 0 / 0.8304 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.746e-05/0.01658, allocations: 3.984 kB / 0.8304 GB, free: 6.449 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.001494/0.01808, allocations: 1.212 MB / 0.8316 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.01811, allocations: 12.62 kB / 0.8316 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009976/0.0191, allocations: 337.5 kB / 0.8319 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.0198, allocations: 0.495 MB / 0.8324 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.281e-05/0.01985, allocations: 49.67 kB / 0.8324 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.01995, allocations: 72.36 kB / 0.8325 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000887/0.02084, allocations: 0.9563 MB / 0.8334 GB, free: 3.078 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.02085, allocations: 8.125 kB / 0.8335 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/0.0209, allocations: 32.36 kB / 0.8335 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.53e-05/0.02099, allocations: 85.19 kB / 0.8336 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.02127, allocations: 256.6 kB / 0.8338 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.02397, allocations: 3.922 MB / 0.8376 GB, free: 14.64 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.02434, allocations: 294.1 kB / 0.8379 GB, free: 14.35 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.02445, allocations: 98.33 kB / 0.838 GB, free: 14.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.02447, allocations: 8.5 kB / 0.838 GB, free: 14.24 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.02449, allocations: 43 kB / 0.8381 GB, free: 14.19 MB / 0.823 GB Notification: Performance of pre-optimization done (n=47): time 1.583e-06/0.0245, allocations: 0 / 0.8381 GB, free: 14.19 MB / 0.823 GB Notification: Performance of matching and sorting (n=48): time 0.001293/0.02579, allocations: 0.8004 MB / 0.8388 GB, free: 13.37 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.02582, allocations: 63.89 kB / 0.8389 GB, free: 13.29 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.02608, allocations: 470.9 kB / 0.8394 GB, free: 12.82 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.02611, allocations: 37.7 kB / 0.8394 GB, free: 12.78 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.02627, allocations: 380.8 kB / 0.8398 GB, free: 12.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.773e-05/0.02636, allocations: 174.5 kB / 0.8399 GB, free: 12.23 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.02647, allocations: 126.5 kB / 0.84 GB, free: 12.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.02658, allocations: 374.7 kB / 0.8404 GB, free: 11.73 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.75e-05/0.02667, allocations: 69.97 kB / 0.8405 GB, free: 11.66 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.02686, allocations: 300.9 kB / 0.8408 GB, free: 11.27 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.02747, allocations: 446.8 kB / 0.8412 GB, free: 10.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.02747, allocations: 4 kB / 0.8412 GB, free: 10.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006238/0.0281, allocations: 0.5595 MB / 0.8417 GB, free: 10.14 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.02812, allocations: 8 kB / 0.8417 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.02813, allocations: 8 kB / 0.8417 GB, free: 10.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.02874, allocations: 290.5 kB / 0.842 GB, free: 9.828 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.029, allocations: 131.8 kB / 0.8421 GB, free: 9.699 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.0319, allocations: 5.307 MB / 0.8473 GB, free: 4.008 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.03209, allocations: 19.98 kB / 0.8473 GB, free: 3.988 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.03211, allocations: 28 kB / 0.8474 GB, free: 3.961 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.0001245/0.03224, allocations: 160.5 kB / 0.8475 GB, free: 3.793 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.0323, allocations: 55.94 kB / 0.8476 GB, free: 3.738 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.03281, allocations: 455.4 kB / 0.848 GB, free: 3.266 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.03281, allocations: 4 kB / 0.848 GB, free: 3.262 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002426/0.03305, allocations: 4 kB / 0.848 GB, free: 3.258 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.03305, allocations: 0 / 0.848 GB, free: 3.258 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009023/0.03396, allocations: 0.8813 MB / 0.8489 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.03396, allocations: 0 / 0.8489 GB, free: 2.312 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.03409, allocations: 51.92 kB / 0.8489 GB, free: 2.262 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.03419, allocations: 83.53 kB / 0.849 GB, free: 2.18 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/0.03475, allocations: 282.6 kB / 0.8493 GB, free: 1.887 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.03476, allocations: 8 kB / 0.8493 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.03737, allocations: 5.317 MB / 0.8545 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.03737, allocations: 4 kB / 0.8545 GB, free: 12.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008482/0.03822, allocations: 0.578 MB / 0.8551 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.03826, allocations: 11.98 kB / 0.8551 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.0384, allocations: 12 kB / 0.8551 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.03845, allocations: 51.83 kB / 0.8551 GB, free: 11.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.03847, allocations: 16 kB / 0.8551 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001231/0.03859, allocations: 200.4 kB / 0.8553 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.03859, allocations: 0 / 0.8553 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000426/0.03902, allocations: 224 kB / 0.8555 GB, free: 11.04 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.0001097/0.03913, allocations: 100.3 kB / 0.8556 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007484/0.03988, allocations: 0.8884 MB / 0.8565 GB, free: 9.988 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-05/0.0399, allocations: 12.5 kB / 0.8565 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.04036, allocations: 0.7246 MB / 0.8572 GB, free: 9.199 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.04087, allocations: 259.8 kB / 0.8575 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.04615, allocations: 1.304 MB / 0.8587 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.04629, allocations: 207.3 kB / 0.8589 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.04646, allocations: 73.5 kB / 0.859 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.04673, allocations: 205.2 kB / 0.8592 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of SimCode: time 9.31e-07/0.04673, allocations: 0 / 0.8592 GB, free: 7.094 MB / 0.8386 GB Notification: Performance of Templates: time 0.01359/0.06032, allocations: 12.48 MB / 0.8714 GB, free: 10.84 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4077433086931705]