Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002515/0.002515, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.002919/0.002919, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.545/1.545, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.954/2.954, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.58e-05, allocations: 3.188 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03376/0.03378, allocations: 22.68 MB / 0.8085 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03296/0.06674, allocations: 17.78 MB / 0.8259 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003136/0.06988, allocations: 174.6 kB / 0.8261 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.01287/0.08275, allocations: 4.291 MB / 0.8303 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.09482, allocations: 3.702 MB / 0.8339 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0037/0.09852, allocations: 1.303 MB / 0.8352 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01021/0.1087, allocations: 5.962 MB / 0.841 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005819/0.1145, allocations: 2.849 MB / 0.8438 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008413/0.123, allocations: 3.711 MB / 0.8474 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004519/0.1275, allocations: 2.026 MB / 0.8494 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0008992/0.1284, allocations: 364 kB / 0.8497 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002634/0.131, allocations: 0.9706 MB / 0.8507 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001761/0.1328, allocations: 1.285 MB / 0.8519 GB, free: 8.387 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002493/0.1353, allocations: 1.376 MB / 0.8533 GB, free: 7.008 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.007967/0.1432, allocations: 5.222 MB / 0.8584 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1432, allocations: 4 kB / 0.8584 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1432, allocations: 0 / 0.8584 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001633/0.1434, allocations: 3.938 kB / 0.8584 GB, free: 1.762 MB / 0.7605 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.01218/0.1556, allocations: 4.954 MB / 0.8632 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.1556, allocations: 8.031 kB / 0.8632 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01519/0.1708, allocations: 3.076 MB / 0.8662 GB, free: 9.609 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006197/0.177, allocations: 2.243 MB / 0.8684 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005567/0.1776, allocations: 466.3 kB / 0.8689 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006713/0.1783, allocations: 244.4 kB / 0.8691 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009171/0.1874, allocations: 3.862 MB / 0.8729 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.461e-05/0.1875, allocations: 3.938 kB / 0.8729 GB, free: 2.402 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.1878, allocations: 99.98 kB / 0.873 GB, free: 2.305 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002505/0.1881, allocations: 172.8 kB / 0.8731 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008585/0.1966, allocations: 2.697 MB / 0.8758 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02161/0.2183, allocations: 9.012 MB / 0.8846 GB, free: 6.273 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007773/0.226, allocations: 2.241 MB / 0.8867 GB, free: 4.02 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002569/0.2286, allocations: 0.8185 MB / 0.8875 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/0.2288, allocations: 29.31 kB / 0.8876 GB, free: 3.176 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003893/0.2327, allocations: 2.015 MB / 0.8895 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=163): time 4.038e-06/0.2327, allocations: 0 / 0.8895 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of matching and sorting (n=250): time 0.03984/0.2725, allocations: 9.342 MB / 0.8987 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003848/0.2729, allocations: 0.4967 MB / 0.8991 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004244/0.2771, allocations: 2.441 MB / 0.9015 GB, free: 4.477 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005165/0.2776, allocations: 77.7 kB / 0.9016 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.2796, allocations: 1.629 MB / 0.9032 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/0.2808, allocations: 0.9145 MB / 0.9041 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.2819, allocations: 482.7 kB / 0.9045 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002704/0.2822, allocations: 480.7 kB / 0.905 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003939/0.2861, allocations: 1.27 MB / 0.9062 GB, free: 15.57 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/0.2912, allocations: 2.115 MB / 0.9083 GB, free: 13.21 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00849/0.2997, allocations: 3.049 MB / 0.9113 GB, free: 10 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.26e-05/0.2997, allocations: 4 kB / 0.9113 GB, free: 10 MB / 0.823 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01738/0.317, allocations: 4.869 MB / 0.916 GB, free: 5.012 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.3172, allocations: 152.4 kB / 0.9162 GB, free: 4.832 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3172, allocations: 11.94 kB / 0.9162 GB, free: 4.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01496/0.3322, allocations: 2.977 MB / 0.9191 GB, free: 1.836 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/0.3347, allocations: 387.5 kB / 0.9195 GB, free: 1.457 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04138/0.3761, allocations: 13.59 MB / 0.9327 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003542/0.3797, allocations: 215.8 kB / 0.933 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000359/0.38, allocations: 91.97 kB / 0.933 GB, free: 3.352 MB / 0.8386 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.001339/0.3814, allocations: 466.2 kB / 0.9335 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000912/0.3823, allocations: 394.1 kB / 0.9339 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009568/0.3832, allocations: 361.2 kB / 0.9342 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.3833, allocations: 27.94 kB / 0.9342 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.827e-05/0.3833, allocations: 12 kB / 0.9342 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.498e-05/0.3833, allocations: 11.95 kB / 0.9343 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005229/0.3886, allocations: 2.688 MB / 0.9369 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.3886, allocations: 0 / 0.9369 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/0.3906, allocations: 295.6 kB / 0.9372 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01446/0.405, allocations: 2.937 MB / 0.94 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005471/0.4056, allocations: 51.91 kB / 0.9401 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04031/0.4459, allocations: 13.35 MB / 0.9531 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4459, allocations: 0 / 0.9531 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01647/0.4624, allocations: 4.435 MB / 0.9575 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/0.4647, allocations: 0.5953 MB / 0.958 GB, free: 9.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007145/0.4655, allocations: 48 kB / 0.9581 GB, free: 9.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/0.4682, allocations: 203.8 kB / 0.9583 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/0.4694, allocations: 382.4 kB / 0.9586 GB, free: 8.781 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/0.4696, allocations: 75.97 kB / 0.9587 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002505/0.4721, allocations: 1.469 MB / 0.9601 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.4721, allocations: 0 / 0.9601 GB, free: 7.23 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003381/0.4755, allocations: 1.035 MB / 0.9612 GB, free: 6.195 MB / 0.8698 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.000413/0.4759, allocations: 171 kB / 0.9613 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.02268/0.4986, allocations: 5.257 MB / 0.9665 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/0.4986, allocations: 4 kB / 0.9665 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0175/0.5161, allocations: 3.514 MB / 0.9699 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004968/0.5211, allocations: 1.101 MB / 0.971 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.5351, allocations: 6.039 MB / 0.9769 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002586/0.5376, allocations: 1.636 MB / 0.9785 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002191/0.5398, allocations: 407.4 kB / 0.9788 GB, free: 3.816 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007457/0.5406, allocations: 176.5 kB / 0.979 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of SimCode: time 1.533e-06/0.5406, allocations: 4 kB / 0.979 GB, free: 3.641 MB / 0.8855 GB Notification: Performance of Templates: time 0.4979/1.038, allocations: 73.62 MB / 1.051 GB, free: 230.5 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.340514180017635]