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.00192/0.00192, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002476/0.002476, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.519/1.519, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.882/2.882, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.1.",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.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.253e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.04535/0.04538, allocations: 20.92 MB / 0.8313 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.03774/0.08313, allocations: 16.67 MB / 0.8475 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003247/0.08638, allocations: 170.6 kB / 0.8477 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.01254/0.09891, allocations: 4.17 MB / 0.8518 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.1116, allocations: 3.692 MB / 0.8554 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004098/0.1157, allocations: 1.314 MB / 0.8567 GB, free: 3.07 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01073/0.1264, allocations: 5.982 MB / 0.8625 GB, free: 13.07 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007408/0.1338, allocations: 2.841 MB / 0.8653 GB, free: 10.15 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009582/0.1434, allocations: 3.687 MB / 0.8689 GB, free: 6.453 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005026/0.1484, allocations: 1.92 MB / 0.8708 GB, free: 4.527 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.1498, allocations: 364 kB / 0.8711 GB, free: 4.172 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003311/0.1531, allocations: 0.9706 MB / 0.872 GB, free: 3.199 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.1553, allocations: 1.261 MB / 0.8733 GB, free: 1.934 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003535/0.1588, allocations: 1.364 MB / 0.8746 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.009754/0.1686, allocations: 5.199 MB / 0.8797 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1686, allocations: 4 kB / 0.8797 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.834e-06/0.1686, allocations: 3.938 kB / 0.8797 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001965/0.1688, allocations: 0 / 0.8797 GB, free: 11.34 MB / 0.8386 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.01347/0.1822, allocations: 4.604 MB / 0.8842 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1823, allocations: 8.031 kB / 0.8842 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/0.2006, allocations: 3.626 MB / 0.8877 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006178/0.2068, allocations: 2.287 MB / 0.89 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006059/0.2074, allocations: 466.3 kB / 0.8904 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.2084, allocations: 244.4 kB / 0.8907 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.2228, allocations: 5.367 MB / 0.8959 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-05/0.2229, allocations: 0 / 0.8959 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006247/0.2235, allocations: 107.9 kB / 0.896 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002729/0.2238, allocations: 168.8 kB / 0.8962 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.2392, allocations: 5.194 MB / 0.9012 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02262/0.2619, allocations: 8.818 MB / 0.9098 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01057/0.2724, allocations: 3.243 MB / 0.913 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004155/0.2766, allocations: 1.374 MB / 0.9144 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.2768, allocations: 29.31 kB / 0.9144 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005421/0.2822, allocations: 2.45 MB / 0.9168 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=163): time 4.228e-06/0.2822, allocations: 4 kB / 0.9168 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=250): time 0.1365/0.4187, allocations: 27.56 MB / 0.9437 GB, free: 8.891 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004264/0.4191, allocations: 0.4928 MB / 0.9442 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004578/0.4237, allocations: 2.001 MB / 0.9461 GB, free: 6.27 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000486/0.4242, allocations: 73.7 kB / 0.9462 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.4261, allocations: 1.47 MB / 0.9476 GB, free: 4.711 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001297/0.4274, allocations: 0.8519 MB / 0.9485 GB, free: 3.852 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/0.4288, allocations: 412.5 kB / 0.9489 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.429, allocations: 313.1 kB / 0.9492 GB, free: 3.133 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00638/0.4354, allocations: 2.062 MB / 0.9512 GB, free: 1.035 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006745/0.4421, allocations: 2.778 MB / 0.9539 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01257/0.4547, allocations: 4.161 MB / 0.9579 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.4547, allocations: 0 / 0.9579 GB, free: 9.746 MB / 0.9167 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02237/0.4771, allocations: 6.686 MB / 0.9645 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001607/0.4772, allocations: 152.4 kB / 0.9646 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/0.4773, allocations: 4 kB / 0.9646 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01526/0.4925, allocations: 3.326 MB / 0.9679 GB, free: 15.41 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/0.4958, allocations: 491.2 kB / 0.9683 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04977/0.5456, allocations: 18.34 MB / 0.9862 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/0.5501, allocations: 323.6 kB / 0.9866 GB, free: 12.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00069/0.5508, allocations: 91.97 kB / 0.9866 GB, free: 12.03 MB / 0.948 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.002335/0.5531, allocations: 0.7025 MB / 0.9873 GB, free: 11.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/0.5546, allocations: 394.1 kB / 0.9877 GB, free: 10.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.5557, allocations: 365.2 kB / 0.9881 GB, free: 10.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-05/0.5557, allocations: 27.94 kB / 0.9881 GB, free: 10.54 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.254e-05/0.5558, allocations: 8 kB / 0.9881 GB, free: 10.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.53e-05/0.5558, allocations: 11.95 kB / 0.9881 GB, free: 10.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/0.562, allocations: 2.725 MB / 0.9908 GB, free: 7.75 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.651e-05/0.562, allocations: 3.938 kB / 0.9908 GB, free: 7.746 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/0.5647, allocations: 415.4 kB / 0.9912 GB, free: 7.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01506/0.5798, allocations: 3.283 MB / 0.9944 GB, free: 4.047 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005405/0.5803, allocations: 51.97 kB / 0.9944 GB, free: 3.996 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04716/0.6275, allocations: 18.11 MB / 1.012 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6275, allocations: 0 / 1.012 GB, free: 1.668 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/0.6491, allocations: 6.157 MB / 1.018 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/0.6515, allocations: 0.6071 MB / 1.019 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/0.6525, allocations: 48 kB / 1.019 GB, free: 10.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003745/0.6563, allocations: 315.6 kB / 1.019 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001586/0.6579, allocations: 362.5 kB / 1.019 GB, free: 10.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003856/0.6582, allocations: 67.97 kB / 1.019 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003512/0.6618, allocations: 1.313 MB / 1.021 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.6618, allocations: 0 / 1.021 GB, free: 8.773 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005097/0.6668, allocations: 1.039 MB / 1.022 GB, free: 7.734 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.0008343/0.6677, allocations: 173.7 kB / 1.022 GB, free: 7.559 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02586/0.6935, allocations: 6.459 MB / 1.028 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/0.6936, allocations: 0 / 1.028 GB, free: 0.9766 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01865/0.7122, allocations: 3.949 MB / 1.032 GB, free: 12.99 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006701/0.7189, allocations: 1.093 MB / 1.033 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.7395, allocations: 6.855 MB / 1.04 GB, free: 5.031 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003565/0.7431, allocations: 1.687 MB / 1.042 GB, free: 3.305 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002574/0.7457, allocations: 475.4 kB / 1.042 GB, free: 2.836 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007542/0.7464, allocations: 176.5 kB / 1.042 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of SimCode: time 1.052e-06/0.7464, allocations: 0 / 1.042 GB, free: 2.664 MB / 0.9948 GB Notification: Performance of Templates: time 0.5545/1.301, allocations: 72.83 MB / 1.113 GB, free: 259 MB / 1.01 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.604735610890202]