Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001017/0.001017, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.00245, allocations: 449.8 kB / 10.44 MB, free: 252 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.0009324/0.0009324, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002248, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 0.9307/0.9307, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08636/1.017, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.821/1.821, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4897/2.31, allocations: 123.3 MB / 0.7283 GB, free: 5.754 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.111e-05, allocations: 4.922 kB / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01161/0.01163, allocations: 15.44 MB / 0.7448 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.02694, allocations: 13.05 MB / 0.7575 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003351/0.03029, allocations: 170.7 kB / 0.7577 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002527/0.03282, allocations: 0.7663 MB / 0.7584 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.008803/0.04162, allocations: 3.503 MB / 0.7618 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003221/0.04484, allocations: 1.312 MB / 0.7631 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.009302/0.05415, allocations: 6.34 MB / 0.7693 GB, free: 11.87 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/0.05827, allocations: 2.772 MB / 0.772 GB, free: 8.996 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006696/0.06496, allocations: 4.177 MB / 0.7761 GB, free: 4.766 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003609/0.06857, allocations: 2.195 MB / 0.7782 GB, free: 2.57 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0009511/0.06952, allocations: 364 kB / 0.7786 GB, free: 2.215 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.07079, allocations: 435.9 kB / 0.779 GB, free: 1.789 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.0008394/0.07162, allocations: 1.041 MB / 0.78 GB, free: 0.7461 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.001515/0.07314, allocations: 1.119 MB / 0.7811 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003024/0.07616, allocations: 2.865 MB / 0.7839 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.839e-05/0.07618, allocations: 0 / 0.7839 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.214e-06/0.07618, allocations: 0.5 kB / 0.7839 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001345/0.07632, allocations: 5.594 kB / 0.7839 GB, free: 12.75 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.006198/0.08252, allocations: 5.108 MB / 0.7889 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.08256, allocations: 13.06 kB / 0.7889 GB, free: 7.562 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005575/0.08813, allocations: 2.092 MB / 0.791 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003378/0.09151, allocations: 1.881 MB / 0.7928 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.09179, allocations: 470.3 kB / 0.7932 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000716/0.09251, allocations: 244.4 kB / 0.7935 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/0.09632, allocations: 3.25 MB / 0.7966 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.09635, allocations: 0 / 0.7966 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.09656, allocations: 99.98 kB / 0.7967 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.0967, allocations: 168.8 kB / 0.7969 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.09815, allocations: 0.9821 MB / 0.7979 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008955/0.1071, allocations: 5.779 MB / 0.8035 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.1095, allocations: 1.62 MB / 0.8051 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/0.1099, allocations: 383.6 kB / 0.8055 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.768e-05/0.11, allocations: 33.3 kB / 0.8055 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001137/0.1112, allocations: 1.521 MB / 0.807 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=163): time 4.369e-06/0.1112, allocations: 0 / 0.807 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of matching and sorting (n=163): time 0.00698/0.1181, allocations: 3.455 MB / 0.8103 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.1182, allocations: 84.59 kB / 0.8104 GB, free: 0.7383 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.1197, allocations: 1.695 MB / 0.8121 GB, free: 15.03 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001355/0.1198, allocations: 65.7 kB / 0.8121 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007613/0.1206, allocations: 1.031 MB / 0.8132 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/0.121, allocations: 0.5654 MB / 0.8137 GB, free: 13.34 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.1214, allocations: 295.3 kB / 0.814 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003625/0.1218, allocations: 301.1 kB / 0.8143 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.1222, allocations: 416.4 kB / 0.8147 GB, free: 12.31 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.1229, allocations: 1.072 MB / 0.8157 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.1239, allocations: 1.062 MB / 0.8168 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.1239, allocations: 0 / 0.8168 GB, free: 9.871 MB / 0.7917 GB Notification: Performance of matching and sorting (n=212) (initialization): time 0.002812/0.1267, allocations: 1.925 MB / 0.8186 GB, free: 7.875 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.945e-05/0.1268, allocations: 152.5 kB / 0.8188 GB, free: 7.695 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.1268, allocations: 7.938 kB / 0.8188 GB, free: 7.688 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/0.1297, allocations: 1.237 MB / 0.82 GB, free: 6.445 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009787/0.1307, allocations: 359.5 kB / 0.8203 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007479/0.1382, allocations: 4.846 MB / 0.8251 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.1398, allocations: 254.8 kB / 0.8253 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.1399, allocations: 59.97 kB / 0.8254 GB, free: 0.8555 MB / 0.7917 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.0008559/0.1408, allocations: 218.3 kB / 0.8256 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/0.1412, allocations: 231.7 kB / 0.8258 GB, free: 416 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/0.1415, allocations: 298.3 kB / 0.8261 GB, free: 112 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.1415, allocations: 16 kB / 0.8261 GB, free: 96 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1415, allocations: 4 kB / 0.8261 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1415, allocations: 7.969 kB / 0.8261 GB, free: 84 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.1433, allocations: 1.206 MB / 0.8273 GB, free: 14.85 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1433, allocations: 0 / 0.8273 GB, free: 14.85 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/0.1441, allocations: 267.6 kB / 0.8275 GB, free: 14.59 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000906/0.145, allocations: 365.8 kB / 0.8279 GB, free: 14.23 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002753/0.1477, allocations: 1.187 MB / 0.8291 GB, free: 13.04 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.314e-05/0.1478, allocations: 39.91 kB / 0.8291 GB, free: 13 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007303/0.1551, allocations: 4.609 MB / 0.8336 GB, free: 8.285 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1551, allocations: 4 kB / 0.8336 GB, free: 8.281 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/0.1585, allocations: 1.538 MB / 0.8351 GB, free: 6.719 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004888/0.159, allocations: 39.94 kB / 0.8351 GB, free: 6.68 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.1599, allocations: 147.8 kB / 0.8353 GB, free: 6.535 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/0.1603, allocations: 221.6 kB / 0.8355 GB, free: 6.32 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-05/0.1604, allocations: 43.91 kB / 0.8355 GB, free: 6.277 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.0008716/0.1613, allocations: 0.9039 MB / 0.8364 GB, free: 5.363 MB / 0.8074 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1613, allocations: 4 kB / 0.8364 GB, free: 5.359 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.001834/0.1631, allocations: 0.9669 MB / 0.8374 GB, free: 4.391 MB / 0.8074 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.0002366/0.1634, allocations: 128.3 kB / 0.8375 GB, free: 4.258 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.003905/0.1673, allocations: 2.268 MB / 0.8397 GB, free: 1.883 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-05/0.1673, allocations: 36.48 kB / 0.8397 GB, free: 1.844 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.002825/0.1701, allocations: 1.489 MB / 0.8412 GB, free: 344 kB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005943/0.1761, allocations: 9.721 MB / 0.8507 GB, free: 4.645 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/0.1976, allocations: 5.017 MB / 0.8556 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.1983, allocations: 0.6539 MB / 0.8562 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001469/0.1998, allocations: 348.8 kB / 0.8565 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/0.2014, allocations: 0.8308 MB / 0.8574 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of SimCode: time 1.613e-06/0.2014, allocations: 0 / 0.8574 GB, free: 13.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.06931/0.2707, allocations: 61.41 MB / 0.9173 GB, free: 1.605 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized/Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.112809029407799]