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.001917/0.001917, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00219/0.00219, allocations: 166.2 kB / 22.46 MB, free: 5.359 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.88/2.88, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.051e-05/4.207e-05, allocations: 2.281 kB / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009068/0.00911, allocations: 6.389 MB / 1.006 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005483/0.01459, allocations: 2.997 MB / 1.009 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.01502, allocations: 35.69 kB / 1.009 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002713/0.01774, allocations: 0.9499 MB / 1.01 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.01896, allocations: 0.5318 MB / 1.011 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.02007, allocations: 449 kB / 1.011 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.0216, allocations: 1.259 MB / 1.012 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008726/0.02247, allocations: 0.5295 MB / 1.013 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009652/0.02344, allocations: 0.6663 MB / 1.014 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007528/0.02419, allocations: 466.7 kB / 1.014 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.02431, allocations: 64 kB / 1.014 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006774/0.02498, allocations: 359 kB / 1.014 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.02533, allocations: 335 kB / 1.015 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.02573, allocations: 315.2 kB / 1.015 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.02722, allocations: 1.238 MB / 1.016 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.02722, allocations: 4 kB / 1.016 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.02723, allocations: 0 / 1.016 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.02724, allocations: 0 / 1.016 GB, free: 6.672 MB / 0.9669 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.002009/0.02925, allocations: 1.104 MB / 1.017 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.02928, allocations: 11.98 kB / 1.017 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.0309, allocations: 248 kB / 1.018 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.03187, allocations: 0.5184 MB / 1.018 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.995e-05/0.03192, allocations: 53.67 kB / 1.018 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.03203, allocations: 60.38 kB / 1.018 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.03389, allocations: 1.34 MB / 1.02 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.03392, allocations: 4.188 kB / 1.02 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.058e-05/0.034, allocations: 32.38 kB / 1.02 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.03417, allocations: 93.12 kB / 1.02 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001272/0.03544, allocations: 0.7465 MB / 1.02 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.04072, allocations: 4.519 MB / 1.025 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.04179, allocations: 0.5085 MB / 1.025 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.04224, allocations: 286.2 kB / 1.026 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.04228, allocations: 8.5 kB / 1.026 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.04231, allocations: 35.06 kB / 1.026 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=47): time 2.064e-06/0.04232, allocations: 4 kB / 1.026 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48): time 0.003983/0.0463, allocations: 1.681 MB / 1.027 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.04635, allocations: 55.91 kB / 1.027 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006215/0.04697, allocations: 0.5104 MB / 1.028 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.04702, allocations: 37.69 kB / 1.028 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003225/0.04734, allocations: 419.9 kB / 1.028 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.0475, allocations: 178.5 kB / 1.028 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002201/0.04772, allocations: 130.6 kB / 1.029 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.04793, allocations: 366.8 kB / 1.029 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.04838, allocations: 273.8 kB / 1.029 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/0.04903, allocations: 493.4 kB / 1.03 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.05019, allocations: 0.8086 MB / 1.03 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.0502, allocations: 4 kB / 1.03 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001999/0.0522, allocations: 1.074 MB / 1.031 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.05222, allocations: 8 kB / 1.031 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.05223, allocations: 4 kB / 1.031 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009237/0.05315, allocations: 287.7 kB / 1.032 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.05366, allocations: 127.7 kB / 1.032 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007377/0.06103, allocations: 6.582 MB / 1.038 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.06159, allocations: 39.95 kB / 1.038 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.06165, allocations: 36.25 kB / 1.038 GB, free: 14.94 MB / 0.9981 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.0003695/0.06202, allocations: 249.6 kB / 1.039 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.06213, allocations: 67.56 kB / 1.039 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.0638, allocations: 0.8893 MB / 1.04 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.06381, allocations: 12 kB / 1.04 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.06382, allocations: 7.938 kB / 1.04 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.06382, allocations: 3.984 kB / 1.04 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.06644, allocations: 1.51 MB / 1.041 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.06644, allocations: 192 / 1.041 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.06673, allocations: 67.89 kB / 1.041 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008037/0.06753, allocations: 263.2 kB / 1.041 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.06757, allocations: 12 kB / 1.041 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007216/0.07479, allocations: 6.591 MB / 1.048 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.07479, allocations: 4.031 kB / 1.048 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.07646, allocations: 0.9737 MB / 1.049 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.07672, allocations: 111.7 kB / 1.049 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.0768, allocations: 15.98 kB / 1.049 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003755/0.07718, allocations: 24.16 kB / 1.049 GB, free: 3.59 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.07729, allocations: 47.86 kB / 1.049 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.024e-05/0.07733, allocations: 20 kB / 1.049 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004098/0.07774, allocations: 338.8 kB / 1.049 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.07774, allocations: 3.938 kB / 1.049 GB, free: 3.191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007997/0.07854, allocations: 220 kB / 1.05 GB, free: 2.977 MB / 0.9981 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.0001675/0.07871, allocations: 115.2 kB / 1.05 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.08077, allocations: 1.236 MB / 1.051 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.08077, allocations: 0 / 1.051 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.08209, allocations: 0.8579 MB / 1.052 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009806/0.08307, allocations: 198.7 kB / 1.052 GB, free: 476 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.08525, allocations: 1.333 MB / 1.053 GB, free: 15.08 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004388/0.08569, allocations: 415.3 kB / 1.054 GB, free: 14.65 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003211/0.08601, allocations: 113.5 kB / 1.054 GB, free: 14.54 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.08613, allocations: 40.5 kB / 1.054 GB, free: 14.5 MB / 1.014 GB Notification: Performance of SimCode: time 4.21e-07/0.08613, allocations: 0 / 1.054 GB, free: 14.5 MB / 1.014 GB Notification: Performance of Templates: time 0.02046/0.1066, allocations: 11.26 MB / 1.065 GB, free: 3.465 MB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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: 8.559910148382187]