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.009024/0.009024, allocations: 103 kB / 15.73 MB, free: 6.035 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.001818/0.001818, allocations: 196.9 kB / 16.68 MB, free: 5.953 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.46/1.46, allocations: 222.9 MB / 240.3 MB, free: 15.09 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.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 67.89 kB / 0.9509 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.065, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02959/1.095, allocations: 22.63 MB / 1.11 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03213/1.127, allocations: 17.63 MB / 1.127 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005723/1.133, allocations: 111 kB / 1.127 GB, free: 9.656 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01306/1.146, allocations: 4.17 MB / 1.131 GB, free: 7.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01606/1.162, allocations: 3.518 MB / 1.135 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00495/1.167, allocations: 1.315 MB / 1.136 GB, free: 4.336 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01195/1.179, allocations: 5.786 MB / 1.142 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008465/1.188, allocations: 3.584 MB / 1.145 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006445/1.194, allocations: 2.406 MB / 1.148 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007211/1.201, allocations: 2.447 MB / 1.15 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002423/1.204, allocations: 370 kB / 1.15 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004934/1.209, allocations: 1.033 MB / 1.151 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003027/1.212, allocations: 1.201 MB / 1.153 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006802/1.219, allocations: 1.996 MB / 1.155 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/1.233, allocations: 5.179 MB / 1.16 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/1.233, allocations: 3.984 kB / 1.16 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.805e-06/1.233, allocations: 0 / 1.16 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003054/1.233, allocations: 1.062 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.01822/1.251, allocations: 4.614 MB / 1.164 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/1.251, allocations: 9.812 kB / 1.164 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01832/1.27, allocations: 3.259 MB / 1.167 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007608/1.277, allocations: 2.227 MB / 1.169 GB, free: 2.855 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007028/1.278, allocations: 467.8 kB / 1.17 GB, free: 2.449 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001236/1.279, allocations: 242.3 kB / 1.17 GB, free: 2.363 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/1.294, allocations: 4.806 MB / 1.175 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-05/1.294, allocations: 1.062 kB / 1.175 GB, free: 15.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008387/1.295, allocations: 106.2 kB / 1.175 GB, free: 15.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002576/1.295, allocations: 177 kB / 1.175 GB, free: 15.39 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/1.312, allocations: 5.199 MB / 1.18 GB, free: 12.77 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/1.345, allocations: 14.39 MB / 1.194 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/1.355, allocations: 3.394 MB / 1.198 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004113/1.36, allocations: 1.471 MB / 1.199 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001745/1.36, allocations: 17.3 kB / 1.199 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004653/1.365, allocations: 1.802 MB / 1.201 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=163): time 4.107e-06/1.365, allocations: 0 / 1.201 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of matching and sorting (n=250): time 0.1381/1.503, allocations: 28.23 MB / 1.228 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002973/1.503, allocations: 0.4889 MB / 1.229 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005565/1.509, allocations: 2.304 MB / 1.231 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0009839/1.51, allocations: 81.69 kB / 1.231 GB, free: 9.367 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001778/1.511, allocations: 1.43 MB / 1.233 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.513, allocations: 0.8162 MB / 1.233 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002055/1.515, allocations: 420.5 kB / 1.234 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.515, allocations: 301.1 kB / 1.234 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006028/1.521, allocations: 1.929 MB / 1.236 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006232/1.527, allocations: 2.235 MB / 1.238 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01152/1.539, allocations: 4.158 MB / 1.242 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/1.539, allocations: 0 / 1.242 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02061/1.56, allocations: 6.547 MB / 1.249 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001265/1.56, allocations: 148.5 kB / 1.249 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/1.56, allocations: 8 kB / 1.249 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/1.571, allocations: 2.922 MB / 1.252 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/1.574, allocations: 487.2 kB / 1.252 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04358/1.617, allocations: 18.85 MB / 1.27 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004792/1.622, allocations: 319.6 kB / 1.271 GB, free: 200 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005253/1.623, allocations: 87.97 kB / 1.271 GB, free: 112 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.002111/1.625, allocations: 0.7067 MB / 1.272 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001024/1.626, allocations: 332.1 kB / 1.272 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/1.627, allocations: 376.1 kB / 1.272 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.627, allocations: 27.94 kB / 1.272 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.011e-05/1.627, allocations: 12 kB / 1.272 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.467e-05/1.627, allocations: 11.95 kB / 1.272 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006558/1.634, allocations: 3.624 MB / 1.276 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/1.634, allocations: 0 / 1.276 GB, free: 10.96 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.636, allocations: 415.4 kB / 1.276 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/1.647, allocations: 2.865 MB / 1.279 GB, free: 7.676 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005115/1.647, allocations: 51.97 kB / 1.279 GB, free: 7.625 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04092/1.688, allocations: 18.62 MB / 1.297 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.688, allocations: 0 / 1.297 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/1.708, allocations: 6.173 MB / 1.303 GB, free: 14.5 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003111/1.712, allocations: 0.6961 MB / 1.304 GB, free: 13.78 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001483/1.713, allocations: 47.94 kB / 1.304 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004476/1.718, allocations: 311.6 kB / 1.304 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001378/1.719, allocations: 358.7 kB / 1.305 GB, free: 13.08 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002442/1.719, allocations: 67.97 kB / 1.305 GB, free: 13.01 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002622/1.722, allocations: 1.536 MB / 1.306 GB, free: 11.48 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.31e-07/1.722, allocations: 3.938 kB / 1.306 GB, free: 11.47 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003868/1.726, allocations: 1.043 MB / 1.307 GB, free: 10.43 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.0004179/1.726, allocations: 174.5 kB / 1.307 GB, free: 10.25 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02409/1.75, allocations: 6.473 MB / 1.314 GB, free: 3.691 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.75, allocations: 4 kB / 1.314 GB, free: 3.688 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.01817/1.768, allocations: 4.068 MB / 1.318 GB, free: 15.59 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005739/1.774, allocations: 1.128 MB / 1.319 GB, free: 14.5 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01554/1.79, allocations: 6.695 MB / 1.325 GB, free: 7.777 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002032/1.792, allocations: 2.231 MB / 1.327 GB, free: 5.516 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.00235/1.794, allocations: 0.5138 MB / 1.328 GB, free: 4.996 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006893/1.795, allocations: 187.3 kB / 1.328 GB, free: 4.812 MB / 1.061 GB Notification: Performance of SimCode: time 5.81e-07/1.795, allocations: 3.938 kB / 1.328 GB, free: 4.809 MB / 1.061 GB Notification: Performance of Templates: time 0.1402/1.935, allocations: 75.65 MB / 1.402 GB, free: 10.04 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