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.001403/0.001403, allocations: 79.83 kB / 19.18 MB, free: 2.516 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.001655/0.001655, allocations: 162.2 kB / 22.46 MB, free: 5.375 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 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.914/2.914, allocations: 377.8 MB / 0.6221 GB, free: 12.63 MB / 0.5919 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 2.184e-06/2.184e-06, allocations: 3.938 kB / 0.9814 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.924e-05/3.142e-05, allocations: 2.281 kB / 0.9815 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.04289/0.04292, allocations: 20.92 MB / 1.002 GB, free: 5.906 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04251/0.08543, allocations: 16.66 MB / 1.018 GB, free: 5.195 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005463/0.09089, allocations: 174.6 kB / 1.018 GB, free: 5.023 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01292/0.1038, allocations: 4.18 MB / 1.022 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01518/0.119, allocations: 3.696 MB / 1.026 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004767/0.1238, allocations: 1.321 MB / 1.027 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01205/0.1358, allocations: 5.951 MB / 1.033 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005881/0.1417, allocations: 2.845 MB / 1.036 GB, free: 2.914 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009581/0.1513, allocations: 3.695 MB / 1.039 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005259/0.1565, allocations: 1.912 MB / 1.041 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.1576, allocations: 368 kB / 1.042 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.1606, allocations: 0.9706 MB / 1.043 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001522/0.1621, allocations: 1.265 MB / 1.044 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002581/0.1647, allocations: 1.364 MB / 1.045 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008409/0.1731, allocations: 5.203 MB / 1.05 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.046e-06/0.1731, allocations: 0 / 1.05 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.144e-06/0.1731, allocations: 0 / 1.05 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001808/0.1733, allocations: 0 / 1.05 GB, free: 4.105 MB / 0.9512 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.01403/0.1874, allocations: 4.604 MB / 1.055 GB, free: 15.4 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.1874, allocations: 8.031 kB / 1.055 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01775/0.2052, allocations: 3.279 MB / 1.058 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/0.2116, allocations: 2.158 MB / 1.06 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005485/0.2122, allocations: 466.3 kB / 1.061 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006644/0.2129, allocations: 236.3 kB / 1.061 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01352/0.2264, allocations: 5.359 MB / 1.066 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.844e-05/0.2264, allocations: 7.938 kB / 1.066 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003814/0.2268, allocations: 104 kB / 1.066 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002685/0.2271, allocations: 168.8 kB / 1.066 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.2424, allocations: 5.195 MB / 1.071 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02328/0.2657, allocations: 8.752 MB / 1.08 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01079/0.2765, allocations: 3.251 MB / 1.083 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004104/0.2806, allocations: 1.378 MB / 1.084 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.2807, allocations: 17.31 kB / 1.084 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00537/0.2861, allocations: 2.454 MB / 1.087 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=163): time 4.638e-06/0.2861, allocations: 0 / 1.087 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of matching and sorting (n=250): time 0.8503/1.136, allocations: 27.5 MB / 1.114 GB, free: 120.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000262/1.137, allocations: 0.4899 MB / 1.114 GB, free: 119.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003886/1.141, allocations: 2 MB / 1.116 GB, free: 119 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006092/1.141, allocations: 76.83 kB / 1.116 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.143, allocations: 1.471 MB / 1.118 GB, free: 118 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.144, allocations: 0.8544 MB / 1.118 GB, free: 117.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/1.145, allocations: 419.5 kB / 1.119 GB, free: 117.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/1.145, allocations: 306.5 kB / 1.119 GB, free: 116.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00618/1.151, allocations: 2.065 MB / 1.121 GB, free: 116.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006695/1.158, allocations: 2.767 MB / 1.124 GB, free: 114.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.17, allocations: 4.164 MB / 1.128 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-05/1.17, allocations: 1.094 kB / 1.128 GB, free: 112.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0218/1.192, allocations: 6.591 MB / 1.134 GB, free: 110.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.192, allocations: 149 kB / 1.135 GB, free: 110.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/1.192, allocations: 4.5 kB / 1.135 GB, free: 110.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01135/1.203, allocations: 2.922 MB / 1.137 GB, free: 109.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003323/1.207, allocations: 487.2 kB / 1.138 GB, free: 109.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0424/1.249, allocations: 18.2 MB / 1.156 GB, free: 99.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004893/1.254, allocations: 330.4 kB / 1.156 GB, free: 98.99 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004347/1.254, allocations: 88.81 kB / 1.156 GB, free: 98.96 MB / 0.9981 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.002169/1.256, allocations: 0.7027 MB / 1.157 GB, free: 98.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009064/1.257, allocations: 323.3 kB / 1.157 GB, free: 98.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008474/1.258, allocations: 359.8 kB / 1.157 GB, free: 98.04 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/1.258, allocations: 23.72 kB / 1.157 GB, free: 98.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-05/1.258, allocations: 11.59 kB / 1.157 GB, free: 98.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.08e-05/1.258, allocations: 15.84 kB / 1.157 GB, free: 98.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/1.262, allocations: 2.736 MB / 1.16 GB, free: 96.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/1.262, allocations: 0 / 1.16 GB, free: 96.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/1.265, allocations: 417.5 kB / 1.16 GB, free: 96.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009292/1.274, allocations: 2.857 MB / 1.163 GB, free: 94.28 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004591/1.274, allocations: 59.89 kB / 1.163 GB, free: 94.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03542/1.31, allocations: 17.96 MB / 1.181 GB, free: 76.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.31, allocations: 3.938 kB / 1.181 GB, free: 76.06 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01827/1.328, allocations: 6.087 MB / 1.187 GB, free: 69.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002392/1.331, allocations: 0.5995 MB / 1.187 GB, free: 69.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/1.332, allocations: 52 kB / 1.187 GB, free: 69.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004166/1.336, allocations: 319.5 kB / 1.188 GB, free: 68.99 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001491/1.337, allocations: 362.5 kB / 1.188 GB, free: 68.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003838/1.338, allocations: 67.97 kB / 1.188 GB, free: 68.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002871/1.341, allocations: 1.316 MB / 1.189 GB, free: 67.25 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/1.341, allocations: 0 / 1.189 GB, free: 67.25 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004631/1.345, allocations: 1.035 MB / 1.19 GB, free: 66.21 MB / 0.9981 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.0006039/1.346, allocations: 171.6 kB / 1.191 GB, free: 66.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02433/1.37, allocations: 6.455 MB / 1.197 GB, free: 59.45 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/1.37, allocations: 4 kB / 1.197 GB, free: 59.45 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01822/1.389, allocations: 3.922 MB / 1.201 GB, free: 55.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006615/1.395, allocations: 1.034 MB / 1.202 GB, free: 54.51 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/1.413, allocations: 6.765 MB / 1.208 GB, free: 47.75 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/1.416, allocations: 1.687 MB / 1.21 GB, free: 46.02 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00233/1.418, allocations: 478.2 kB / 1.21 GB, free: 45.55 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/1.419, allocations: 172.4 kB / 1.211 GB, free: 45.38 MB / 0.9981 GB Notification: Performance of SimCode: time 1.603e-06/1.419, allocations: 0 / 1.211 GB, free: 45.38 MB / 0.9981 GB Notification: Performance of Templates: time 0.1123/1.531, allocations: 72.63 MB / 1.282 GB, free: 6.059 MB / 1.029 GB " [Timeout remaining time 298] 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: 12.61575536429882]