Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01033/0.01033, allocations: 102.1 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 198 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.89 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9997/1.001, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.03153/1.033, allocations: 22.63 MB / 1.11 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03064/1.063, allocations: 17.63 MB / 1.127 GB, free: 9.742 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005836/1.069, allocations: 110.7 kB / 1.127 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0134/1.083, allocations: 4.166 MB / 1.131 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0187/1.101, allocations: 3.529 MB / 1.135 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005894/1.107, allocations: 1.3 MB / 1.136 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01342/1.121, allocations: 5.793 MB / 1.142 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006919/1.128, allocations: 3.588 MB / 1.145 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006774/1.135, allocations: 2.481 MB / 1.148 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00808/1.143, allocations: 2.439 MB / 1.15 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00273/1.145, allocations: 373.3 kB / 1.15 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005753/1.151, allocations: 1.039 MB / 1.151 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003629/1.155, allocations: 1.189 MB / 1.153 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00906/1.164, allocations: 2.004 MB / 1.155 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01652/1.181, allocations: 5.181 MB / 1.16 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.181, allocations: 0 / 1.16 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.154e-06/1.181, allocations: 0 / 1.16 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0002933/1.181, allocations: 1.781 kB / 1.16 GB, free: 9.105 MB / 0.9044 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.01976/1.201, allocations: 4.614 MB / 1.164 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.201, allocations: 9.156 kB / 1.164 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01666/1.217, allocations: 3.259 MB / 1.167 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007381/1.225, allocations: 2.223 MB / 1.17 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005737/1.225, allocations: 471.9 kB / 1.17 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001607/1.227, allocations: 234.7 kB / 1.17 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01763/1.245, allocations: 4.818 MB / 1.175 GB, free: 15.51 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/1.245, allocations: 7.938 kB / 1.175 GB, free: 15.5 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/1.246, allocations: 102.4 kB / 1.175 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003447/1.247, allocations: 168.8 kB / 1.175 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.263, allocations: 5.193 MB / 1.18 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02877/1.292, allocations: 14.4 MB / 1.194 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/1.302, allocations: 3.39 MB / 1.198 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003888/1.306, allocations: 1.471 MB / 1.199 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/1.306, allocations: 25.2 kB / 1.199 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004441/1.31, allocations: 1.798 MB / 1.201 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 3.827e-06/1.31, allocations: 0 / 1.201 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1275/1.438, allocations: 28.23 MB / 1.228 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002853/1.438, allocations: 0.4889 MB / 1.229 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004436/1.443, allocations: 2.308 MB / 1.231 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0006071/1.443, allocations: 77.7 kB / 1.231 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001579/1.445, allocations: 1.434 MB / 1.233 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/1.446, allocations: 0.8201 MB / 1.233 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/1.448, allocations: 412.5 kB / 1.234 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.448, allocations: 305.1 kB / 1.234 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005114/1.453, allocations: 1.933 MB / 1.236 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005576/1.458, allocations: 2.227 MB / 1.238 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.469, allocations: 4.165 MB / 1.242 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.469, allocations: 3.938 kB / 1.242 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01981/1.489, allocations: 6.539 MB / 1.249 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/1.489, allocations: 144.5 kB / 1.249 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.489, allocations: 8 kB / 1.249 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01114/1.5, allocations: 2.926 MB / 1.252 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/1.504, allocations: 495.2 kB / 1.252 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04449/1.548, allocations: 18.84 MB / 1.27 GB, free: 484 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004766/1.553, allocations: 319.6 kB / 1.271 GB, free: 164 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007823/1.554, allocations: 91.97 kB / 1.271 GB, free: 72 kB / 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.002645/1.556, allocations: 0.7066 MB / 1.272 GB, free: 15.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001267/1.558, allocations: 332.1 kB / 1.272 GB, free: 15.03 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.559, allocations: 384.1 kB / 1.272 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/1.559, allocations: 24 kB / 1.272 GB, free: 14.62 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.315e-05/1.559, allocations: 12 kB / 1.272 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/1.559, allocations: 15.95 kB / 1.272 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007271/1.566, allocations: 3.616 MB / 1.276 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/1.566, allocations: 0 / 1.276 GB, free: 10.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/1.569, allocations: 419.6 kB / 1.276 GB, free: 10.51 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009945/1.579, allocations: 2.868 MB / 1.279 GB, free: 7.629 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000434/1.579, allocations: 51.91 kB / 1.279 GB, free: 7.578 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03999/1.619, allocations: 18.61 MB / 1.297 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/1.619, allocations: 0 / 1.297 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02775/1.647, allocations: 6.173 MB / 1.303 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003094/1.65, allocations: 0.7 MB / 1.304 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00163/1.652, allocations: 51.92 kB / 1.304 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005467/1.657, allocations: 307.6 kB / 1.304 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002085/1.66, allocations: 354.7 kB / 1.305 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000588/1.66, allocations: 71.97 kB / 1.305 GB, free: 12.97 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.004567/1.665, allocations: 1.536 MB / 1.306 GB, free: 11.43 MB / 1.045 GB Notification: Performance of sort global known variables: time 7.91e-07/1.665, allocations: 3.938 kB / 1.306 GB, free: 11.43 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.006323/1.671, allocations: 1.047 MB / 1.307 GB, free: 10.38 MB / 1.045 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.000858/1.672, allocations: 163.6 kB / 1.307 GB, free: 10.21 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02262/1.695, allocations: 6.477 MB / 1.314 GB, free: 3.648 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/1.695, allocations: 4 kB / 1.314 GB, free: 3.645 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01701/1.712, allocations: 4.063 MB / 1.318 GB, free: 15.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006595/1.718, allocations: 1.13 MB / 1.319 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.735, allocations: 6.701 MB / 1.325 GB, free: 7.734 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002611/1.738, allocations: 2.223 MB / 1.328 GB, free: 5.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002686/1.74, allocations: 0.5177 MB / 1.328 GB, free: 4.957 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008974/1.741, allocations: 187.3 kB / 1.328 GB, free: 4.773 MB / 1.061 GB Notification: Performance of SimCode: time 6.11e-07/1.741, allocations: 0 / 1.328 GB, free: 4.773 MB / 1.061 GB Notification: Performance of Templates: time 0.1726/1.914, allocations: 77.57 MB / 1.404 GB, free: 8.078 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches