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.001935/0.001935, allocations: 80.83 kB / 19.18 MB, free: 2.527 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.002547/0.002547, allocations: 165.3 kB / 22.46 MB, free: 5.355 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.62/1.62, 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 3.168/3.168, allocations: 389 MB / 0.633 GB, free: 1.004 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.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.425e-06/2.425e-06, allocations: 0 / 1 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.338e-05, allocations: 2.281 kB / 1 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03176/0.0318, allocations: 20.93 MB / 1.021 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03463/0.06643, allocations: 16.66 MB / 1.037 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.0709, allocations: 170.6 kB / 1.037 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01308/0.08399, allocations: 4.176 MB / 1.041 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.09802, allocations: 3.69 MB / 1.045 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004981/0.103, allocations: 1.327 MB / 1.046 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01245/0.1155, allocations: 5.946 MB / 1.052 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008041/0.1235, allocations: 2.845 MB / 1.055 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01038/0.1339, allocations: 3.687 MB / 1.058 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00552/0.1394, allocations: 1.916 MB / 1.06 GB, free: 9.684 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.1406, allocations: 364 kB / 1.06 GB, free: 9.328 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.1437, allocations: 0.9823 MB / 1.061 GB, free: 8.344 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.1452, allocations: 1.265 MB / 1.063 GB, free: 7.074 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002778/0.1479, allocations: 1.364 MB / 1.064 GB, free: 5.707 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008422/0.1564, allocations: 5.195 MB / 1.069 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1564, allocations: 4 kB / 1.069 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1564, allocations: 0 / 1.069 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001595/0.1565, allocations: 0 / 1.069 GB, free: 0.4922 MB / 1.014 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.01236/0.1689, allocations: 4.596 MB / 1.073 GB, free: 11.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.1689, allocations: 15.97 kB / 1.074 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.1868, allocations: 3.279 MB / 1.077 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006148/0.1929, allocations: 2.169 MB / 1.079 GB, free: 6.246 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006057/0.1935, allocations: 466.3 kB / 1.079 GB, free: 5.727 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009955/0.1945, allocations: 232.4 kB / 1.08 GB, free: 5.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01465/0.2092, allocations: 5.367 MB / 1.085 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.453e-05/0.2092, allocations: 0 / 1.085 GB, free: 15.88 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003801/0.2096, allocations: 108 kB / 1.085 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002561/0.2099, allocations: 180.8 kB / 1.085 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01634/0.2262, allocations: 5.187 MB / 1.09 GB, free: 10.39 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02541/0.2516, allocations: 8.748 MB / 1.099 GB, free: 1.527 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/0.2625, allocations: 3.259 MB / 1.102 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004187/0.2667, allocations: 1.366 MB / 1.103 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.2668, allocations: 21.3 kB / 1.103 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005646/0.2725, allocations: 2.45 MB / 1.106 GB, free: 10.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=163): time 5.5e-06/0.2725, allocations: 0 / 1.106 GB, free: 10.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=250): time 0.7899/1.062, allocations: 27.5 MB / 1.132 GB, free: 161.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/1.063, allocations: 0.4925 MB / 1.133 GB, free: 161.3 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003006/1.066, allocations: 2 MB / 1.135 GB, free: 160.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0006059/1.066, allocations: 74.98 kB / 1.135 GB, free: 160.8 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/1.067, allocations: 1.47 MB / 1.136 GB, free: 160.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008469/1.068, allocations: 0.8512 MB / 1.137 GB, free: 159.8 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008888/1.069, allocations: 414.7 kB / 1.138 GB, free: 159.6 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/1.069, allocations: 305.1 kB / 1.138 GB, free: 159.3 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005291/1.074, allocations: 2.065 MB / 1.14 GB, free: 158.6 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005393/1.08, allocations: 2.774 MB / 1.143 GB, free: 157.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/1.09, allocations: 4.162 MB / 1.147 GB, free: 155.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/1.09, allocations: 1.906 kB / 1.147 GB, free: 155.4 MB / 1.076 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01856/1.109, allocations: 6.59 MB / 1.153 GB, free: 153 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/1.109, allocations: 149.5 kB / 1.153 GB, free: 152.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/1.109, allocations: 9.281 kB / 1.153 GB, free: 152.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009961/1.119, allocations: 2.92 MB / 1.156 GB, free: 152.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/1.122, allocations: 489.4 kB / 1.157 GB, free: 152.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04202/1.164, allocations: 18.19 MB / 1.174 GB, free: 143.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004493/1.168, allocations: 323.8 kB / 1.175 GB, free: 143.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003874/1.169, allocations: 90.08 kB / 1.175 GB, free: 143.3 MB / 1.076 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.00175/1.171, allocations: 0.7017 MB / 1.175 GB, free: 142.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007054/1.171, allocations: 318.7 kB / 1.176 GB, free: 142.8 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007583/1.172, allocations: 361.5 kB / 1.176 GB, free: 142.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/1.172, allocations: 23.91 kB / 1.176 GB, free: 142.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.939e-05/1.172, allocations: 14.16 kB / 1.176 GB, free: 142.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.018e-05/1.172, allocations: 15.86 kB / 1.176 GB, free: 142.5 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/1.177, allocations: 2.729 MB / 1.179 GB, free: 141.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.177, allocations: 1.094 kB / 1.179 GB, free: 141.4 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/1.18, allocations: 416.9 kB / 1.179 GB, free: 141.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/1.191, allocations: 2.862 MB / 1.182 GB, free: 140.8 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005207/1.191, allocations: 52.12 kB / 1.182 GB, free: 140.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04339/1.235, allocations: 17.98 MB / 1.2 GB, free: 131.8 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.235, allocations: 1.781 kB / 1.2 GB, free: 131.8 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02104/1.256, allocations: 6.073 MB / 1.206 GB, free: 129.9 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002198/1.258, allocations: 0.608 MB / 1.206 GB, free: 129.5 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005414/1.259, allocations: 51.12 kB / 1.206 GB, free: 129.5 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003378/1.262, allocations: 318.1 kB / 1.206 GB, free: 129.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001743/1.264, allocations: 362.4 kB / 1.207 GB, free: 129.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002552/1.264, allocations: 69.36 kB / 1.207 GB, free: 129.3 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002737/1.267, allocations: 1.313 MB / 1.208 GB, free: 128.8 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.267, allocations: 1.062 kB / 1.208 GB, free: 128.8 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004285/1.271, allocations: 1.038 MB / 1.209 GB, free: 128.7 MB / 1.076 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.0004584/1.271, allocations: 169 kB / 1.209 GB, free: 128.6 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.02432/1.296, allocations: 6.453 MB / 1.216 GB, free: 126.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/1.296, allocations: 2.969 kB / 1.216 GB, free: 126.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/1.313, allocations: 3.925 MB / 1.219 GB, free: 124.9 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004353/1.317, allocations: 1.034 MB / 1.22 GB, free: 124.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01486/1.332, allocations: 6.765 MB / 1.227 GB, free: 120.5 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/1.334, allocations: 1.687 MB / 1.229 GB, free: 119.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002639/1.336, allocations: 477.6 kB / 1.229 GB, free: 118.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/1.337, allocations: 172.4 kB / 1.229 GB, free: 118.6 MB / 1.076 GB Notification: Performance of SimCode: time 1.974e-06/1.337, allocations: 0 / 1.229 GB, free: 118.6 MB / 1.076 GB Notification: Performance of Templates: time 0.09615/1.433, allocations: 72.62 MB / 1.3 GB, free: 47.26 MB / 1.076 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: 13.536236491054296]