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.001995/0.001995, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.002557/0.002557, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.584/1.584, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.869/2.869, allocations: 359.1 MB / 0.6044 GB, free: 14.79 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002117/0.002117, allocations: 71.89 kB / 0.9515 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4118, allocations: 169.9 MB / 1.117 GB, free: 2.469 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.9815/1.393, allocations: 21.27 MB / 1.138 GB, free: 43.85 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02426/1.418, allocations: 16.86 MB / 1.155 GB, free: 38.51 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005048/1.423, allocations: 172.2 kB / 1.155 GB, free: 38.42 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/1.433, allocations: 4.166 MB / 1.159 GB, free: 36.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01337/1.447, allocations: 3.586 MB / 1.162 GB, free: 33.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/1.451, allocations: 1.312 MB / 1.164 GB, free: 33.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009805/1.461, allocations: 5.791 MB / 1.169 GB, free: 30.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006388/1.467, allocations: 2.833 MB / 1.172 GB, free: 28.99 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006591/1.474, allocations: 2.825 MB / 1.175 GB, free: 27.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006858/1.481, allocations: 2.149 MB / 1.177 GB, free: 27.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002427/1.483, allocations: 365.6 kB / 1.177 GB, free: 27.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/1.488, allocations: 0.9573 MB / 1.178 GB, free: 26.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003162/1.491, allocations: 1.211 MB / 1.179 GB, free: 26.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006879/1.498, allocations: 1.628 MB / 1.181 GB, free: 25.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01606/1.514, allocations: 5.194 MB / 1.186 GB, free: 23.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/1.514, allocations: 1.094 kB / 1.186 GB, free: 23.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.097e-06/1.514, allocations: 4 kB / 1.186 GB, free: 23.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003464/1.515, allocations: 0 / 1.186 GB, free: 23.38 MB / 1.076 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.01975/1.534, allocations: 4.634 MB / 1.191 GB, free: 20.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/1.535, allocations: 9.688 kB / 1.191 GB, free: 20.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/1.553, allocations: 3.278 MB / 1.194 GB, free: 20.4 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007792/1.561, allocations: 2.168 MB / 1.196 GB, free: 19.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004925/1.561, allocations: 469.2 kB / 1.196 GB, free: 18.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001084/1.563, allocations: 236.4 kB / 1.197 GB, free: 18.69 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/1.577, allocations: 5.357 MB / 1.202 GB, free: 16.25 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.304e-05/1.577, allocations: 5 kB / 1.202 GB, free: 16.25 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000393/1.578, allocations: 108.8 kB / 1.202 GB, free: 16.17 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003099/1.578, allocations: 170.6 kB / 1.202 GB, free: 16.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/1.597, allocations: 5.198 MB / 1.207 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0259/1.623, allocations: 8.76 MB / 1.216 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/1.633, allocations: 3.248 MB / 1.219 GB, free: 9.113 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004004/1.637, allocations: 1.372 MB / 1.22 GB, free: 8.707 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001266/1.637, allocations: 22.2 kB / 1.22 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005048/1.642, allocations: 2.466 MB / 1.223 GB, free: 7.238 MB / 1.076 GB Notification: Performance of pre-optimization done (n=163): time 4.379e-06/1.642, allocations: 0 / 1.223 GB, free: 7.238 MB / 1.076 GB Notification: Performance of matching and sorting (n=250): time 0.1354/1.778, allocations: 27.49 MB / 1.25 GB, free: 13.22 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004121/1.778, allocations: 0.4913 MB / 1.25 GB, free: 12.65 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003844/1.782, allocations: 2 MB / 1.252 GB, free: 11.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006116/1.783, allocations: 77.58 kB / 1.252 GB, free: 11.52 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.002286/1.785, allocations: 1.47 MB / 1.254 GB, free: 10.23 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001899/1.787, allocations: 0.8657 MB / 1.254 GB, free: 9.465 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/1.788, allocations: 415.9 kB / 1.255 GB, free: 9.238 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.788, allocations: 304 kB / 1.255 GB, free: 8.941 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006109/1.794, allocations: 2.066 MB / 1.257 GB, free: 7.797 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006353/1.801, allocations: 2.777 MB / 1.26 GB, free: 5.746 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/1.813, allocations: 4.158 MB / 1.264 GB, free: 1.453 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-06/1.813, allocations: 0 / 1.264 GB, free: 1.453 MB / 1.092 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02081/1.833, allocations: 6.592 MB / 1.27 GB, free: 10.73 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/1.834, allocations: 148.5 kB / 1.27 GB, free: 10.56 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/1.834, allocations: 4 kB / 1.27 GB, free: 10.55 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/1.844, allocations: 2.921 MB / 1.273 GB, free: 7.625 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/1.848, allocations: 487.2 kB / 1.274 GB, free: 7.148 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04423/1.892, allocations: 18.2 MB / 1.292 GB, free: 4.785 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005168/1.897, allocations: 319.6 kB / 1.292 GB, free: 4.473 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005573/1.898, allocations: 95.97 kB / 1.292 GB, free: 4.379 MB / 1.123 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.00232/1.9, allocations: 0.7025 MB / 1.293 GB, free: 3.664 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009569/1.901, allocations: 314 kB / 1.293 GB, free: 3.355 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008685/1.902, allocations: 365.2 kB / 1.293 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/1.902, allocations: 27.94 kB / 1.293 GB, free: 2.961 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.311e-05/1.902, allocations: 12 kB / 1.293 GB, free: 2.949 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-05/1.902, allocations: 11.95 kB / 1.293 GB, free: 2.938 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005251/1.907, allocations: 2.749 MB / 1.296 GB, free: 160 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.907, allocations: 0 / 1.296 GB, free: 160 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002754/1.91, allocations: 411.4 kB / 1.296 GB, free: 15.75 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/1.921, allocations: 2.863 MB / 1.299 GB, free: 12.88 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005203/1.921, allocations: 51.91 kB / 1.299 GB, free: 12.83 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04454/1.966, allocations: 17.97 MB / 1.317 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.966, allocations: 0.625 kB / 1.317 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02051/1.986, allocations: 6.087 MB / 1.323 GB, free: 4.531 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003129/1.989, allocations: 0.6032 MB / 1.323 GB, free: 3.926 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008272/1.99, allocations: 47.98 kB / 1.323 GB, free: 3.879 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003412/1.993, allocations: 315.6 kB / 1.324 GB, free: 3.57 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/1.995, allocations: 366.5 kB / 1.324 GB, free: 3.211 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002332/1.995, allocations: 71.09 kB / 1.324 GB, free: 3.145 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002213/1.997, allocations: 1.313 MB / 1.325 GB, free: 1.824 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.41e-07/1.997, allocations: 3.938 kB / 1.325 GB, free: 1.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004073/2.001, allocations: 1.039 MB / 1.326 GB, free: 0.7812 MB / 1.154 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.0004381/2.002, allocations: 159.6 kB / 1.327 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0252/2.027, allocations: 6.462 MB / 1.333 GB, free: 10.04 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.027, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.01924/2.046, allocations: 3.924 MB / 1.337 GB, free: 6.074 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006123/2.052, allocations: 1.028 MB / 1.338 GB, free: 5.09 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01722/2.07, allocations: 6.791 MB / 1.344 GB, free: 14.27 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00234/2.072, allocations: 1.679 MB / 1.346 GB, free: 12.55 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.002765/2.075, allocations: 487.4 kB / 1.346 GB, free: 12.07 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007411/2.075, allocations: 176.4 kB / 1.347 GB, free: 11.89 MB / 1.186 GB Notification: Performance of SimCode: time 1.022e-06/2.075, allocations: 3.938 kB / 1.347 GB, free: 11.89 MB / 1.186 GB Notification: Performance of Templates: time 0.1328/2.208, allocations: 73.21 MB / 1.418 GB, free: 3.887 MB / 1.248 GB " [Timeout remaining time 298] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 13.610114862094633]