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.0009857/0.0009857, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009389/0.0009389, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9058/0.9058, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.007/2.007, allocations: 429.5 MB / 0.6732 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0.5469 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.127e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.0134/0.01343, allocations: 15.38 MB / 0.8932 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.03021, allocations: 12.77 MB / 0.9057 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003835/0.03405, allocations: 170.6 kB / 0.9058 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.002671/0.03672, allocations: 0.7208 MB / 0.9065 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/0.0469, allocations: 3.238 MB / 0.9097 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005123/0.05202, allocations: 1.31 MB / 0.911 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.065, allocations: 5.992 MB / 0.9168 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006836/0.07184, allocations: 2.845 MB / 0.9196 GB, free: 11.64 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01128/0.08312, allocations: 3.688 MB / 0.9232 GB, free: 7.945 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006103/0.08922, allocations: 2.033 MB / 0.9252 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.002042/0.09126, allocations: 364 kB / 0.9256 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003078/0.09434, allocations: 431.8 kB / 0.926 GB, free: 5.129 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002217/0.09656, allocations: 1.289 MB / 0.9272 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004608/0.1012, allocations: 1.383 MB / 0.9286 GB, free: 2.449 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.007928/0.1091, allocations: 3.067 MB / 0.9316 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.1091, allocations: 4 kB / 0.9316 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1091, allocations: 0 / 0.9316 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002384/0.1093, allocations: 0 / 0.9316 GB, free: 15.37 MB / 0.9011 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.009278/0.1186, allocations: 4.619 MB / 0.9361 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.276e-05/0.1187, allocations: 8.031 kB / 0.9361 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007391/0.1261, allocations: 3.073 MB / 0.9391 GB, free: 7.559 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/0.13, allocations: 2.203 MB / 0.9412 GB, free: 5.277 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.1304, allocations: 474.2 kB / 0.9417 GB, free: 4.75 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005258/0.1309, allocations: 252.4 kB / 0.9419 GB, free: 4.504 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005118/0.136, allocations: 3.5 MB / 0.9454 GB, free: 0.7344 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.136, allocations: 4 kB / 0.9454 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/0.1363, allocations: 104 kB / 0.9455 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/0.1364, allocations: 168.8 kB / 0.9456 GB, free: 472 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002737/0.1392, allocations: 1.547 MB / 0.9471 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.1508, allocations: 7.953 MB / 0.9549 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.1539, allocations: 1.919 MB / 0.9568 GB, free: 4.883 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007766/0.1547, allocations: 0.5414 MB / 0.9573 GB, free: 4.344 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.997e-05/0.1548, allocations: 29.25 kB / 0.9573 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.1564, allocations: 1.668 MB / 0.959 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=163): time 5.651e-06/0.1564, allocations: 0 / 0.959 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of matching and sorting (n=250): time 0.0167/0.1731, allocations: 7.538 MB / 0.9663 GB, free: 10.83 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001829/0.1733, allocations: 0.4889 MB / 0.9668 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001866/0.1752, allocations: 1.878 MB / 0.9686 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003187/0.1755, allocations: 73.69 kB / 0.9687 GB, free: 8.258 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009379/0.1764, allocations: 1.519 MB / 0.9702 GB, free: 6.727 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006548/0.1771, allocations: 0.8559 MB / 0.971 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005747/0.1776, allocations: 414.6 kB / 0.9714 GB, free: 5.449 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1778, allocations: 480.7 kB / 0.9719 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.1791, allocations: 0.7859 MB / 0.9726 GB, free: 4.156 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.1805, allocations: 1.556 MB / 0.9742 GB, free: 2.359 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002267/0.1828, allocations: 1.824 MB / 0.9759 GB, free: 384 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/0.1828, allocations: 0 / 0.9759 GB, free: 384 kB / 0.9323 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.007049/0.1898, allocations: 3.764 MB / 0.9796 GB, free: 12.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.563e-05/0.1899, allocations: 152.4 kB / 0.9798 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1899, allocations: 4 kB / 0.9798 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0066/0.1965, allocations: 2.735 MB / 0.9824 GB, free: 9.555 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.1978, allocations: 383.5 kB / 0.9828 GB, free: 9.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01802/0.2158, allocations: 11.35 MB / 0.9939 GB, free: 13.62 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.2176, allocations: 211.8 kB / 0.9941 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.2179, allocations: 91.97 kB / 0.9942 GB, free: 13.32 MB / 0.9636 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.0007751/0.2186, allocations: 294.3 kB / 0.9945 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005262/0.2192, allocations: 394 kB / 0.9948 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002937/0.2194, allocations: 361.2 kB / 0.9952 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.2195, allocations: 27.94 kB / 0.9952 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.243e-05/0.2195, allocations: 8 kB / 0.9952 GB, free: 12.24 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.2195, allocations: 11.95 kB / 0.9952 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002247/0.2218, allocations: 2.098 MB / 0.9973 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.2218, allocations: 0 / 0.9973 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008371/0.2226, allocations: 303.5 kB / 0.9976 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006266/0.2289, allocations: 2.676 MB / 1 GB, free: 7.098 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005366/0.2294, allocations: 55.91 kB / 1 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/0.2465, allocations: 11.11 MB / 1.011 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2465, allocations: 0 / 1.011 GB, free: 11.69 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006426/0.2529, allocations: 3.362 MB / 1.014 GB, free: 8.289 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.254, allocations: 0.5836 MB / 1.015 GB, free: 7.703 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/0.2544, allocations: 44 kB / 1.015 GB, free: 7.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.2556, allocations: 203.8 kB / 1.015 GB, free: 7.461 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008296/0.2564, allocations: 366.5 kB / 1.016 GB, free: 7.105 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.2565, allocations: 67.97 kB / 1.016 GB, free: 7.039 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001194/0.2577, allocations: 1.129 MB / 1.017 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.2577, allocations: 0 / 1.017 GB, free: 5.902 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002113/0.2598, allocations: 1.031 MB / 1.018 GB, free: 4.871 MB / 0.9792 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.000299/0.2601, allocations: 163 kB / 1.018 GB, free: 4.699 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00878/0.2689, allocations: 4.196 MB / 1.022 GB, free: 376 kB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.2689, allocations: 0 / 1.022 GB, free: 376 kB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.007057/0.276, allocations: 2.952 MB / 1.025 GB, free: 13.37 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/0.279, allocations: 1.105 MB / 1.026 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009208/0.2882, allocations: 5.642 MB / 1.031 GB, free: 6.602 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.2893, allocations: 0.7836 MB / 1.032 GB, free: 5.793 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001866/0.2912, allocations: 411.4 kB / 1.033 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005672/0.2918, allocations: 180.5 kB / 1.033 GB, free: 5.211 MB / 0.9948 GB Notification: Performance of SimCode: time 2.494e-06/0.2918, allocations: 0 / 1.033 GB, free: 5.211 MB / 0.9948 GB Notification: Performance of Templates: time 0.4122/0.704, allocations: 77.29 MB / 1.108 GB, free: 161.6 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.524510144256055]