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.001485/0.001485, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001724/0.001724, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.556/1.556, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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 3.339/3.339, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/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.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Sloads|E.S.1.",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.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.913e-05/4.133e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.492 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03388/0.03393, allocations: 20.93 MB / 0.8981 GB, free: 1.516 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03413/0.06805, allocations: 16.66 MB / 0.9143 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004229/0.07228, allocations: 170.6 kB / 0.9145 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.01353/0.08581, allocations: 4.162 MB / 0.9185 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.1001, allocations: 3.695 MB / 0.9222 GB, free: 8.762 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004825/0.105, allocations: 1.314 MB / 0.9234 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.01403/0.119, allocations: 5.969 MB / 0.9293 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007792/0.1268, allocations: 2.841 MB / 0.932 GB, free: 14.53 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01075/0.1375, allocations: 3.695 MB / 0.9357 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006404/0.1439, allocations: 1.916 MB / 0.9375 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.001651/0.1456, allocations: 367.9 kB / 0.9379 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00397/0.1495, allocations: 0.9745 MB / 0.9388 GB, free: 7.57 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002736/0.1523, allocations: 1.261 MB / 0.9401 GB, free: 6.305 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.004826/0.1571, allocations: 1.368 MB / 0.9414 GB, free: 4.934 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.169, allocations: 5.203 MB / 0.9465 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.169, allocations: 4 kB / 0.9465 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.054e-06/0.169, allocations: 0 / 0.9465 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002535/0.1692, allocations: 0 / 0.9465 GB, free: 15.71 MB / 0.9167 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.01642/0.1856, allocations: 4.596 MB / 0.951 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.1857, allocations: 12.03 kB / 0.951 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/0.2046, allocations: 3.63 MB / 0.9545 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006891/0.2115, allocations: 2.279 MB / 0.9567 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006747/0.2122, allocations: 462.3 kB / 0.9572 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001347/0.2135, allocations: 248.3 kB / 0.9574 GB, free: 4.254 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.2293, allocations: 5.367 MB / 0.9627 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-05/0.2294, allocations: 3.938 kB / 0.9627 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008142/0.2302, allocations: 99.98 kB / 0.9628 GB, free: 14.53 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002725/0.2305, allocations: 172.8 kB / 0.9629 GB, free: 14.36 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01623/0.2467, allocations: 5.191 MB / 0.968 GB, free: 9.148 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02536/0.272, allocations: 8.822 MB / 0.9766 GB, free: 220 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/0.2834, allocations: 3.247 MB / 0.9798 GB, free: 12.95 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00424/0.2877, allocations: 1.378 MB / 0.9811 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002013/0.2879, allocations: 25.31 kB / 0.9812 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005628/0.2935, allocations: 2.455 MB / 0.9836 GB, free: 8.871 MB / 0.948 GB Notification: Performance of pre-optimization done (n=163): time 5.53e-06/0.2935, allocations: 4 kB / 0.9836 GB, free: 8.867 MB / 0.948 GB Notification: Performance of matching and sorting (n=250): time 0.1364/0.43, allocations: 27.55 MB / 1.01 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004381/0.4304, allocations: 0.4928 MB / 1.011 GB, free: 12.66 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004402/0.4348, allocations: 2.002 MB / 1.013 GB, free: 10.64 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0005099/0.4353, allocations: 73.7 kB / 1.013 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001742/0.4371, allocations: 1.466 MB / 1.014 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001427/0.4385, allocations: 0.8519 MB / 1.015 GB, free: 8.234 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001433/0.4399, allocations: 416.5 kB / 1.016 GB, free: 7.82 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.4401, allocations: 305.1 kB / 1.016 GB, free: 7.52 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00613/0.4462, allocations: 2.07 MB / 1.018 GB, free: 5.414 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006812/0.453, allocations: 2.778 MB / 1.021 GB, free: 2.422 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/0.4655, allocations: 4.158 MB / 1.025 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/0.4655, allocations: 0 / 1.025 GB, free: 14.12 MB / 0.9948 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02282/0.4883, allocations: 6.69 MB / 1.031 GB, free: 7.312 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.4885, allocations: 156.4 kB / 1.031 GB, free: 7.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-05/0.4886, allocations: 4 kB / 1.031 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01558/0.5041, allocations: 3.326 MB / 1.035 GB, free: 3.797 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003203/0.5073, allocations: 487.2 kB / 1.035 GB, free: 3.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04854/0.5559, allocations: 18.33 MB / 1.053 GB, free: 0.8164 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004586/0.5605, allocations: 319.6 kB / 1.053 GB, free: 0.5039 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006905/0.5612, allocations: 87.97 kB / 1.053 GB, free: 428 kB / 1.01 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 (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,45.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,64)} Notification: Performance of prepare postOptimizeDAE: time 0.4944/1.056, allocations: 0.7035 MB / 1.054 GB, free: 204.6 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.057, allocations: 399.2 kB / 1.054 GB, free: 204.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008289/1.058, allocations: 362.1 kB / 1.055 GB, free: 204.6 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/1.058, allocations: 28.19 kB / 1.055 GB, free: 204.6 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-05/1.058, allocations: 14.16 kB / 1.055 GB, free: 204.6 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/1.058, allocations: 12.98 kB / 1.055 GB, free: 204.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/1.061, allocations: 2.739 MB / 1.058 GB, free: 204.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/1.061, allocations: 0 / 1.058 GB, free: 204.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/1.064, allocations: 413.3 kB / 1.058 GB, free: 204.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01245/1.076, allocations: 3.291 MB / 1.061 GB, free: 204.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/1.077, allocations: 51.16 kB / 1.061 GB, free: 204.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03587/1.112, allocations: 18.1 MB / 1.079 GB, free: 195.9 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.112, allocations: 2.688 kB / 1.079 GB, free: 195.9 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/1.132, allocations: 6.154 MB / 1.085 GB, free: 194.1 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002019/1.134, allocations: 0.6049 MB / 1.085 GB, free: 193.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009214/1.135, allocations: 51 kB / 1.086 GB, free: 193.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003911/1.139, allocations: 317 kB / 1.086 GB, free: 193.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001627/1.141, allocations: 367.4 kB / 1.086 GB, free: 193.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000359/1.141, allocations: 71.36 kB / 1.086 GB, free: 193.6 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.003105/1.144, allocations: 1.315 MB / 1.088 GB, free: 193.1 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/1.144, allocations: 0 / 1.088 GB, free: 193.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00474/1.149, allocations: 1.037 MB / 1.089 GB, free: 193 MB / 1.01 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 (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(10,52,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,62)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005917/1.149, allocations: 163.2 kB / 1.089 GB, free: 192.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02414/1.173, allocations: 6.465 MB / 1.095 GB, free: 190.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.173, allocations: 2.375 kB / 1.095 GB, free: 190.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01858/1.192, allocations: 3.929 MB / 1.099 GB, free: 189.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007196/1.199, allocations: 1.102 MB / 1.1 GB, free: 188.8 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02103/1.22, allocations: 6.861 MB / 1.107 GB, free: 185.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004111/1.224, allocations: 1.68 MB / 1.108 GB, free: 185.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003671/1.228, allocations: 478 kB / 1.109 GB, free: 185.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001188/1.229, allocations: 180.5 kB / 1.109 GB, free: 185.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.943e-06/1.229, allocations: 0 / 1.109 GB, free: 185.3 MB / 1.01 GB Notification: Performance of Templates: time 0.1077/1.337, allocations: 72.82 MB / 1.18 GB, free: 131 MB / 1.01 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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: 12.525383091997355]