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.001104/0.001104, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001007/0.001007, allocations: 173 kB / 23.49 MB, free: 1.059 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.014/1.014, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.231/2.231, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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 2.485e-06/2.485e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.093e-05, allocations: 5.766 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.01869/0.01872, allocations: 22.81 MB / 0.9005 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.03732, allocations: 17.83 MB / 0.9179 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.03977, allocations: 166.7 kB / 0.918 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.04446, allocations: 4.287 MB / 0.9222 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.006704/0.05117, allocations: 3.704 MB / 0.9259 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.05323, allocations: 1.31 MB / 0.9271 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.004275/0.05751, allocations: 5.953 MB / 0.9329 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00239/0.05989, allocations: 2.857 MB / 0.9357 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.06297, allocations: 3.707 MB / 0.9394 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.0649, allocations: 2.022 MB / 0.9413 GB, free: 5.746 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.06529, allocations: 364 kB / 0.9417 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.0665, allocations: 0.9707 MB / 0.9426 GB, free: 4.418 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0007505/0.06726, allocations: 1.285 MB / 0.9439 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001784/0.06904, allocations: 1.375 MB / 0.9452 GB, free: 1.75 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.005854/0.07489, allocations: 3.391 MB / 0.9485 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.0749, allocations: 3.938 kB / 0.9485 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.244e-06/0.0749, allocations: 0 / 0.9485 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00017/0.07507, allocations: 0 / 0.9485 GB, free: 14.34 MB / 0.9167 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.01003/0.08511, allocations: 4.7 MB / 0.9531 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.08516, allocations: 8.031 kB / 0.9531 GB, free: 9.531 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01236/0.09751, allocations: 3.065 MB / 0.9561 GB, free: 6.461 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.1012, allocations: 2.203 MB / 0.9583 GB, free: 4.18 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002841/0.1015, allocations: 462.3 kB / 0.9587 GB, free: 3.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003459/0.1018, allocations: 248.3 kB / 0.959 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004468/0.1063, allocations: 3.5 MB / 0.9624 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/0.1063, allocations: 0 / 0.9624 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002288/0.1066, allocations: 104 kB / 0.9625 GB, free: 15.55 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001559/0.1067, allocations: 172.8 kB / 0.9626 GB, free: 15.38 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.1094, allocations: 1.555 MB / 0.9642 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009611/0.119, allocations: 7.938 MB / 0.9719 GB, free: 5.734 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.1221, allocations: 1.925 MB / 0.9738 GB, free: 3.797 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007489/0.1228, allocations: 0.5414 MB / 0.9743 GB, free: 3.254 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.328e-05/0.1229, allocations: 33.31 kB / 0.9743 GB, free: 3.223 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/0.1242, allocations: 1.668 MB / 0.976 GB, free: 1.309 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=163): time 2.765e-06/0.1242, allocations: 4 kB / 0.976 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of matching and sorting (n=250): time 0.01474/0.1389, allocations: 7.525 MB / 0.9833 GB, free: 9.754 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.1391, allocations: 0.4889 MB / 0.9838 GB, free: 9.152 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001737/0.1408, allocations: 1.878 MB / 0.9856 GB, free: 7.258 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.141, allocations: 77.7 kB / 0.9857 GB, free: 7.176 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008077/0.1418, allocations: 1.523 MB / 0.9872 GB, free: 5.641 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005419/0.1424, allocations: 0.8598 MB / 0.988 GB, free: 4.773 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005408/0.1429, allocations: 414.6 kB / 0.9884 GB, free: 4.359 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.143, allocations: 484.7 kB / 0.9889 GB, free: 3.883 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.1441, allocations: 0.7742 MB / 0.9897 GB, free: 3.074 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.1456, allocations: 1.56 MB / 0.9912 GB, free: 1.273 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002396/0.148, allocations: 1.828 MB / 0.993 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.148, allocations: 0 / 0.993 GB, free: 15.29 MB / 0.9636 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.006054/0.154, allocations: 3.764 MB / 0.9966 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.1541, allocations: 156.4 kB / 0.9968 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1541, allocations: 4.344 kB / 0.9968 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006502/0.1606, allocations: 2.723 MB / 0.9995 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.1616, allocations: 399.4 kB / 0.9998 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01732/0.1789, allocations: 11.35 MB / 1.011 GB, free: 12.53 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.1805, allocations: 211.8 kB / 1.011 GB, free: 12.32 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.1807, allocations: 95.91 kB / 1.011 GB, free: 12.23 MB / 0.9792 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.0007556/0.1815, allocations: 290.2 kB / 1.011 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004595/0.1819, allocations: 394.1 kB / 1.012 GB, free: 11.55 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.1822, allocations: 365.2 kB / 1.012 GB, free: 11.18 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.1823, allocations: 27.94 kB / 1.012 GB, free: 11.15 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-05/0.1823, allocations: 8 kB / 1.012 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.1823, allocations: 11.95 kB / 1.012 GB, free: 11.13 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.1847, allocations: 2.106 MB / 1.014 GB, free: 8.984 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.1847, allocations: 8 kB / 1.014 GB, free: 8.977 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008093/0.1855, allocations: 299.5 kB / 1.015 GB, free: 8.684 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006194/0.1917, allocations: 2.672 MB / 1.017 GB, free: 5.996 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.1919, allocations: 47.97 kB / 1.017 GB, free: 5.949 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/0.2084, allocations: 11.11 MB / 1.028 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2084, allocations: 4 kB / 1.028 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006074/0.2145, allocations: 3.358 MB / 1.031 GB, free: 7.199 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009128/0.2154, allocations: 0.5875 MB / 1.032 GB, free: 6.609 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/0.2157, allocations: 44 kB / 1.032 GB, free: 6.566 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.2168, allocations: 195.8 kB / 1.032 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006766/0.2175, allocations: 362.5 kB / 1.033 GB, free: 6.023 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.2176, allocations: 71.97 kB / 1.033 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001143/0.2188, allocations: 1.125 MB / 1.034 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2188, allocations: 0 / 1.034 GB, free: 4.82 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002111/0.2209, allocations: 1.039 MB / 1.035 GB, free: 3.781 MB / 0.9948 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.0002781/0.2211, allocations: 163.6 kB / 1.035 GB, free: 3.609 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008279/0.2294, allocations: 4.195 MB / 1.039 GB, free: 15.28 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.2294, allocations: 4 kB / 1.039 GB, free: 15.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.006711/0.2361, allocations: 2.948 MB / 1.042 GB, free: 12.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002429/0.2386, allocations: 1.087 MB / 1.043 GB, free: 11.22 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007719/0.2463, allocations: 5.663 MB / 1.048 GB, free: 5.504 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.247, allocations: 0.7836 MB / 1.049 GB, free: 4.695 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001166/0.2482, allocations: 403.4 kB / 1.05 GB, free: 4.297 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.2487, allocations: 176.5 kB / 1.05 GB, free: 4.125 MB / 1.01 GB Notification: Performance of SimCode: time 1.913e-06/0.2487, allocations: 0 / 1.05 GB, free: 4.125 MB / 1.01 GB Notification: Performance of Templates: time 0.4184/0.6671, allocations: 73.66 MB / 1.122 GB, free: 182.5 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.737728959880769]