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.001696/0.001696, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.001511/0.001511, allocations: 157.9 kB / 23.02 MB, free: 4.949 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.953 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 2.881/2.881, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 59.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9084/0.9105, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02314/0.9336, allocations: 21.27 MB / 1.207 GB, free: 2.723 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02981/0.9634, allocations: 16.86 MB / 1.224 GB, free: 7.738 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004721/0.9681, allocations: 172.4 kB / 1.224 GB, free: 7.652 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01266/0.9808, allocations: 4.154 MB / 1.228 GB, free: 5.328 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.9941, allocations: 3.593 MB / 1.232 GB, free: 3.168 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004371/0.9984, allocations: 1.315 MB / 1.233 GB, free: 2.461 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01049/1.009, allocations: 5.78 MB / 1.239 GB, free: 15.74 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005123/1.014, allocations: 2.833 MB / 1.241 GB, free: 14.21 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00647/1.021, allocations: 2.83 MB / 1.244 GB, free: 13.09 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00526/1.026, allocations: 2.149 MB / 1.246 GB, free: 12.01 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009044/1.027, allocations: 369.9 kB / 1.247 GB, free: 12.01 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/1.029, allocations: 0.948 MB / 1.247 GB, free: 11.67 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001461/1.031, allocations: 1.216 MB / 1.249 GB, free: 10.78 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002847/1.034, allocations: 1.631 MB / 1.25 GB, free: 9.773 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007262/1.041, allocations: 5.201 MB / 1.255 GB, free: 6.16 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.041, allocations: 0 / 1.255 GB, free: 6.16 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.503e-06/1.041, allocations: 0.9688 kB / 1.255 GB, free: 6.16 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001122/1.041, allocations: 0 / 1.255 GB, free: 6.16 MB / 1.107 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.01133/1.053, allocations: 4.631 MB / 1.26 GB, free: 2.973 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.053, allocations: 13.62 kB / 1.26 GB, free: 2.969 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01769/1.07, allocations: 3.287 MB / 1.263 GB, free: 1.453 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006213/1.076, allocations: 2.158 MB / 1.265 GB, free: 15.91 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005006/1.077, allocations: 462.3 kB / 1.266 GB, free: 15.52 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006331/1.078, allocations: 239.3 kB / 1.266 GB, free: 15.43 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/1.09, allocations: 5.375 MB / 1.271 GB, free: 11.9 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.336e-05/1.09, allocations: 1.156 kB / 1.271 GB, free: 11.9 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/1.09, allocations: 99.64 kB / 1.271 GB, free: 11.83 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002406/1.09, allocations: 172.5 kB / 1.271 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01496/1.105, allocations: 5.195 MB / 1.276 GB, free: 9.164 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02312/1.128, allocations: 8.763 MB / 1.285 GB, free: 0.8125 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01052/1.139, allocations: 3.248 MB / 1.288 GB, free: 13.55 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00406/1.143, allocations: 1.37 MB / 1.289 GB, free: 12.18 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/1.143, allocations: 21.31 kB / 1.289 GB, free: 12.16 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005073/1.148, allocations: 2.454 MB / 1.292 GB, free: 9.48 MB / 1.139 GB Notification: Performance of pre-optimization done (n=163): time 3.677e-06/1.148, allocations: 0 / 1.292 GB, free: 9.48 MB / 1.139 GB Notification: Performance of matching and sorting (n=250): time 0.1427/1.291, allocations: 27.5 MB / 1.319 GB, free: 13.93 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003723/1.291, allocations: 0.4928 MB / 1.319 GB, free: 13.32 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003927/1.295, allocations: 1.998 MB / 1.321 GB, free: 11.31 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005249/1.296, allocations: 81.69 kB / 1.321 GB, free: 11.23 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00168/1.297, allocations: 1.469 MB / 1.323 GB, free: 9.746 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.299, allocations: 0.8637 MB / 1.324 GB, free: 8.875 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/1.3, allocations: 416.5 kB / 1.324 GB, free: 8.461 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.3, allocations: 301.1 kB / 1.324 GB, free: 8.164 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006333/1.307, allocations: 2.066 MB / 1.326 GB, free: 6.062 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006775/1.313, allocations: 2.774 MB / 1.329 GB, free: 3.074 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01234/1.326, allocations: 4.165 MB / 1.333 GB, free: 14.77 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/1.326, allocations: 0 / 1.333 GB, free: 14.77 MB / 1.186 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02192/1.348, allocations: 6.588 MB / 1.339 GB, free: 8.062 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001596/1.348, allocations: 154.8 kB / 1.34 GB, free: 7.883 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.348, allocations: 4 kB / 1.34 GB, free: 7.879 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/1.359, allocations: 2.925 MB / 1.342 GB, free: 4.945 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003275/1.362, allocations: 491.2 kB / 1.343 GB, free: 4.465 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04741/1.41, allocations: 18.21 MB / 1.361 GB, free: 2.082 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007027/1.417, allocations: 323.6 kB / 1.361 GB, free: 1.766 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007296/1.418, allocations: 91.97 kB / 1.361 GB, free: 1.676 MB / 1.201 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.002644/1.42, allocations: 0.7024 MB / 1.362 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/1.421, allocations: 314 kB / 1.362 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/1.423, allocations: 361.2 kB / 1.362 GB, free: 300 kB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/1.423, allocations: 24 kB / 1.362 GB, free: 276 kB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.587e-05/1.423, allocations: 12 kB / 1.362 GB, free: 264 kB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/1.423, allocations: 15.95 kB / 1.362 GB, free: 248 kB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007361/1.43, allocations: 2.718 MB / 1.365 GB, free: 13.49 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.886e-05/1.43, allocations: 4 kB / 1.365 GB, free: 13.49 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004417/1.434, allocations: 419.3 kB / 1.366 GB, free: 13.08 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01738/1.452, allocations: 2.875 MB / 1.368 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006065/1.452, allocations: 51.97 kB / 1.368 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06417/1.517, allocations: 17.96 MB / 1.386 GB, free: 7.969 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.517, allocations: 4 kB / 1.386 GB, free: 7.965 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0272/1.544, allocations: 6.079 MB / 1.392 GB, free: 1.859 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/1.547, allocations: 0.6032 MB / 1.392 GB, free: 1.254 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001236/1.548, allocations: 44 kB / 1.392 GB, free: 1.211 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00416/1.552, allocations: 323.5 kB / 1.393 GB, free: 0.8945 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001399/1.553, allocations: 362.4 kB / 1.393 GB, free: 0.5391 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003594/1.554, allocations: 75.95 kB / 1.393 GB, free: 476 kB / 1.232 GB Notification: Performance of sorting global known variables: time 0.00262/1.556, allocations: 1.309 MB / 1.395 GB, free: 15.15 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.556, allocations: 0 / 1.395 GB, free: 15.15 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003983/1.56, allocations: 1.043 MB / 1.396 GB, free: 14.11 MB / 1.248 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.00049/1.561, allocations: 163.6 kB / 1.396 GB, free: 13.93 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02686/1.588, allocations: 6.469 MB / 1.402 GB, free: 7.34 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.588, allocations: 4 kB / 1.402 GB, free: 7.336 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01972/1.607, allocations: 3.92 MB / 1.406 GB, free: 3.387 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005742/1.613, allocations: 1.031 MB / 1.407 GB, free: 2.391 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/1.63, allocations: 6.798 MB / 1.413 GB, free: 11.56 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/1.633, allocations: 1.683 MB / 1.415 GB, free: 9.836 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002191/1.635, allocations: 479.4 kB / 1.416 GB, free: 9.363 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006746/1.635, allocations: 172.5 kB / 1.416 GB, free: 9.195 MB / 1.264 GB Notification: Performance of SimCode: time 8.81e-07/1.635, allocations: 0 / 1.416 GB, free: 9.195 MB / 1.264 GB Notification: Performance of Templates: time 0.1247/1.76, allocations: 73.18 MB / 1.487 GB, free: 1.164 MB / 1.326 GB " [Timeout remaining time 298] 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 -s ida -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/jenkins1/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.296423805993982]