Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.0008841/0.0008841, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001119/0.002003, 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.0009664/0.0009664, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001135/0.002101, 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 1.043/1.043, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1046/1.147, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.367/2.367, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2461/2.613, allocations: 145.9 MB / 0.817 GB, free: 4.223 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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.8183 GB, free: 2.887 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.16e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01533/0.01536, allocations: 15.43 MB / 0.8334 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01574/0.03109, allocations: 13.06 MB / 0.8461 GB, free: 6.281 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/0.03409, allocations: 174.6 kB / 0.8463 GB, free: 6.109 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002015/0.0361, allocations: 0.7558 MB / 0.847 GB, free: 5.348 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.008067/0.04417, allocations: 3.514 MB / 0.8505 GB, free: 1.824 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002965/0.04713, allocations: 1.306 MB / 0.8518 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.007864/0.055, allocations: 6.34 MB / 0.8579 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004068/0.05907, allocations: 2.767 MB / 0.8607 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007991/0.06706, allocations: 4.176 MB / 0.8647 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004134/0.07119, allocations: 2.197 MB / 0.8669 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.07229, allocations: 364 kB / 0.8672 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.07386, allocations: 439.8 kB / 0.8676 GB, free: 72 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.07491, allocations: 1.04 MB / 0.8687 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.07694, allocations: 1.119 MB / 0.8697 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.08048, allocations: 2.861 MB / 0.8725 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.211e-05/0.08051, allocations: 4 kB / 0.8725 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.924e-06/0.08051, allocations: 0 / 0.8725 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000117/0.08062, allocations: 0 / 0.8725 GB, free: 11.03 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.005998/0.08662, allocations: 5.102 MB / 0.8775 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.08666, allocations: 20.61 kB / 0.8775 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005612/0.09227, allocations: 2.093 MB / 0.8796 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003186/0.09546, allocations: 1.885 MB / 0.8814 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/0.09571, allocations: 470.3 kB / 0.8819 GB, free: 1.207 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/0.096, allocations: 244.4 kB / 0.8821 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003746/0.09974, allocations: 3.242 MB / 0.8853 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/0.09979, allocations: 0 / 0.8853 GB, free: 13.47 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002116/0.1, allocations: 103.9 kB / 0.8854 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001711/0.1002, allocations: 172.8 kB / 0.8855 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001726/0.1019, allocations: 0.9782 MB / 0.8865 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009874/0.1118, allocations: 5.783 MB / 0.8921 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.1141, allocations: 1.622 MB / 0.8937 GB, free: 4.676 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.1146, allocations: 375.7 kB / 0.8941 GB, free: 4.309 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.812e-05/0.1147, allocations: 29.31 kB / 0.8941 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.1158, allocations: 1.525 MB / 0.8956 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 4.038e-06/0.1158, allocations: 0 / 0.8956 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of matching and sorting (n=163): time 0.006693/0.1225, allocations: 3.357 MB / 0.8989 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.1225, allocations: 80.64 kB / 0.899 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.124, allocations: 1.695 MB / 0.9006 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.1241, allocations: 65.7 kB / 0.9007 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006744/0.1248, allocations: 1.039 MB / 0.9017 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.1252, allocations: 0.5615 MB / 0.9022 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003662/0.1255, allocations: 295.3 kB / 0.9025 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.1256, allocations: 301.1 kB / 0.9028 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.1261, allocations: 412.3 kB / 0.9032 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.1268, allocations: 1.068 MB / 0.9043 GB, free: 9.367 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.1279, allocations: 1.039 MB / 0.9053 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.1279, allocations: 0 / 0.9053 GB, free: 8.227 MB / 0.8855 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002811/0.1307, allocations: 1.921 MB / 0.9071 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.483e-05/0.1308, allocations: 152.5 kB / 0.9073 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1308, allocations: 4 kB / 0.9073 GB, free: 6.047 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/0.1336, allocations: 1.233 MB / 0.9085 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000966/0.1345, allocations: 359.5 kB / 0.9088 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007686/0.1422, allocations: 4.859 MB / 0.9136 GB, free: 15.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.1438, allocations: 254.8 kB / 0.9138 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.144, allocations: 55.97 kB / 0.9139 GB, free: 15.21 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 (varLoad5.count,$PRE.varLoad5.count,varLoad5.T_start,$PRE.varLoad5.T_start,varLoad4.count,$PRE.varLoad4.count,varLoad4.T_start,$PRE.varLoad4.T_start,varLoad3.count,$PRE.varLoad3.count,varLoad3.T_start,$PRE.varLoad3.T_start,varLoad2.count,$PRE.varLoad2.count,varLoad2.T_start,$PRE.varLoad2.T_start,varLoad1.count,$PRE.varLoad1.count,varLoad1.T_start,$PRE.varLoad1.T_start,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of prepare postOptimizeDAE: time 0.0008018/0.1448, allocations: 218.4 kB / 0.9141 GB, free: 14.99 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.1452, allocations: 227.7 kB / 0.9143 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.1454, allocations: 298.3 kB / 0.9146 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.1454, allocations: 20 kB / 0.9146 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.1454, allocations: 0 / 0.9146 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.1455, allocations: 7.969 kB / 0.9146 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.1471, allocations: 1.202 MB / 0.9158 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1471, allocations: 0 / 0.9158 GB, free: 13.21 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/0.1479, allocations: 267.6 kB / 0.916 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005626/0.1485, allocations: 369.7 kB / 0.9164 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002711/0.1512, allocations: 1.194 MB / 0.9176 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-05/0.1513, allocations: 39.91 kB / 0.9176 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007624/0.1589, allocations: 4.613 MB / 0.9221 GB, free: 6.637 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1589, allocations: 4 kB / 0.9221 GB, free: 6.633 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/0.1619, allocations: 1.538 MB / 0.9236 GB, free: 5.066 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/0.1624, allocations: 35.94 kB / 0.9236 GB, free: 5.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008589/0.1633, allocations: 147.8 kB / 0.9238 GB, free: 4.887 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004406/0.1637, allocations: 221.6 kB / 0.924 GB, free: 4.672 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/0.1638, allocations: 43.95 kB / 0.924 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0007884/0.1646, allocations: 0.9 MB / 0.9249 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1646, allocations: 0 / 0.9249 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001861/0.1664, allocations: 0.9669 MB / 0.9259 GB, free: 2.75 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(9,63)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003238/0.1668, allocations: 128.3 kB / 0.926 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003777/0.1705, allocations: 2.257 MB / 0.9282 GB, free: 264 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.842e-05/0.1706, allocations: 36.5 kB / 0.9282 GB, free: 228 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00279/0.1734, allocations: 1.428 MB / 0.9296 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/0.176, allocations: 1.281 MB / 0.9309 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02202/0.198, allocations: 4.998 MB / 0.9358 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.1986, allocations: 0.6577 MB / 0.9364 GB, free: 7.793 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00149/0.2, allocations: 340.5 kB / 0.9367 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001483/0.2015, allocations: 0.8229 MB / 0.9375 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of SimCode: time 2.144e-06/0.2015, allocations: 0 / 0.9375 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of Templates: time 0.0667/0.2682, allocations: 60.53 MB / 0.9966 GB, free: 11.43 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 6.7852229895070195]