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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001535/0.001535, allocations: 102.1 kB / 16.35 MB, free: 5.875 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.001773/0.001773, allocations: 191 kB / 17.29 MB, free: 5.516 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 64.58 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2857, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02392/0.3096, allocations: 22.62 MB / 0.9732 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02429/0.334, allocations: 17.64 MB / 0.9904 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.3382, allocations: 111.4 kB / 0.9905 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.349, allocations: 4.169 MB / 0.9946 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.3601, allocations: 3.509 MB / 0.998 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004002/0.3641, allocations: 1.318 MB / 0.9993 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008914/0.373, allocations: 5.789 MB / 1.005 GB, free: 0.7266 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005244/0.3783, allocations: 3.588 MB / 1.008 GB, free: 13.06 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00541/0.3838, allocations: 2.41 MB / 1.011 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005353/0.3892, allocations: 2.44 MB / 1.013 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.3903, allocations: 375.9 kB / 1.014 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00289/0.3932, allocations: 1.037 MB / 1.015 GB, free: 6.789 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.3946, allocations: 1.192 MB / 1.016 GB, free: 5.594 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.003656/0.3983, allocations: 2.002 MB / 1.018 GB, free: 3.582 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007009/0.4053, allocations: 5.175 MB / 1.023 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.4053, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.056e-06/0.4054, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.000174/0.4055, allocations: 0 / 1.023 GB, free: 14.39 MB / 0.8106 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.01259/0.4181, allocations: 4.609 MB / 1.027 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4182, allocations: 8.031 kB / 1.027 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01495/0.4332, allocations: 3.269 MB / 1.03 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005145/0.4383, allocations: 2.24 MB / 1.033 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003979/0.4388, allocations: 466.2 kB / 1.033 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000622/0.4394, allocations: 239.9 kB / 1.033 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01077/0.4502, allocations: 4.814 MB / 1.038 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.4503, allocations: 0 / 1.038 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003139/0.4506, allocations: 99.98 kB / 1.038 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/0.4508, allocations: 176.8 kB / 1.038 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/0.4634, allocations: 5.194 MB / 1.043 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02453/0.488, allocations: 14.38 MB / 1.057 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.4981, allocations: 3.398 MB / 1.061 GB, free: 5.91 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004126/0.5023, allocations: 1.471 MB / 1.062 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/0.5026, allocations: 21.3 kB / 1.062 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005203/0.5078, allocations: 1.796 MB / 1.064 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=163): time 4.939e-06/0.5078, allocations: 0 / 1.064 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of matching and sorting (n=250): time 0.6365/1.144, allocations: 28.21 MB / 1.091 GB, free: 124 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000177/1.145, allocations: 0.4937 MB / 1.092 GB, free: 123.4 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/1.149, allocations: 2.299 MB / 1.094 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004807/1.15, allocations: 81.06 kB / 1.094 GB, free: 122.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/1.151, allocations: 1.436 MB / 1.096 GB, free: 121.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008041/1.152, allocations: 0.8158 MB / 1.096 GB, free: 120.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008747/1.153, allocations: 416.8 kB / 1.097 GB, free: 120.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.66e-05/1.153, allocations: 301.7 kB / 1.097 GB, free: 120.2 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004851/1.158, allocations: 1.93 MB / 1.099 GB, free: 119.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005056/1.163, allocations: 2.232 MB / 1.101 GB, free: 118.8 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009905/1.173, allocations: 4.163 MB / 1.105 GB, free: 117.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/1.173, allocations: 1.344 kB / 1.105 GB, free: 117.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01872/1.191, allocations: 6.535 MB / 1.112 GB, free: 114.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.992e-05/1.191, allocations: 151.5 kB / 1.112 GB, free: 114.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/1.192, allocations: 10.25 kB / 1.112 GB, free: 114.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009841/1.201, allocations: 2.922 MB / 1.115 GB, free: 114.1 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002767/1.204, allocations: 484.6 kB / 1.115 GB, free: 114.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03656/1.241, allocations: 18.85 MB / 1.134 GB, free: 103.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005032/1.246, allocations: 321.5 kB / 1.134 GB, free: 103.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006195/1.246, allocations: 87.2 kB / 1.134 GB, free: 103.2 MB / 0.8575 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.002139/1.249, allocations: 0.7086 MB / 1.135 GB, free: 102.7 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001119/1.25, allocations: 330 kB / 1.135 GB, free: 102.6 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009368/1.251, allocations: 387 kB / 1.135 GB, free: 102.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/1.251, allocations: 25.42 kB / 1.135 GB, free: 102.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.727e-05/1.251, allocations: 7.906 kB / 1.135 GB, free: 102.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/1.251, allocations: 11.95 kB / 1.135 GB, free: 102.2 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/1.256, allocations: 3.632 MB / 1.139 GB, free: 99.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.518e-05/1.256, allocations: 4 kB / 1.139 GB, free: 99.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002324/1.258, allocations: 411.2 kB / 1.139 GB, free: 99.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00918/1.267, allocations: 2.872 MB / 1.142 GB, free: 98.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004147/1.268, allocations: 47.75 kB / 1.142 GB, free: 98.35 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03375/1.301, allocations: 18.61 MB / 1.16 GB, free: 81.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.301, allocations: 3.984 kB / 1.16 GB, free: 81.78 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/1.317, allocations: 6.171 MB / 1.166 GB, free: 75.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002143/1.319, allocations: 0.7 MB / 1.167 GB, free: 74.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009057/1.32, allocations: 44 kB / 1.167 GB, free: 74.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/1.324, allocations: 315 kB / 1.167 GB, free: 74.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001265/1.325, allocations: 362.7 kB / 1.168 GB, free: 74.14 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002649/1.325, allocations: 67.97 kB / 1.168 GB, free: 74.08 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002312/1.328, allocations: 1.532 MB / 1.169 GB, free: 72.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.328, allocations: 4 kB / 1.169 GB, free: 72.54 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003457/1.331, allocations: 1.043 MB / 1.17 GB, free: 71.5 MB / 0.8575 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.0004328/1.332, allocations: 171.4 kB / 1.17 GB, free: 71.33 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0197/1.351, allocations: 6.474 MB / 1.177 GB, free: 64.76 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.351, allocations: 0 / 1.177 GB, free: 64.76 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.01452/1.366, allocations: 4.052 MB / 1.181 GB, free: 60.68 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/1.37, allocations: 1.156 MB / 1.182 GB, free: 59.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.384, allocations: 6.683 MB / 1.188 GB, free: 52.91 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/1.386, allocations: 2.227 MB / 1.191 GB, free: 50.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002152/1.388, allocations: 0.5145 MB / 1.191 GB, free: 50.15 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006688/1.389, allocations: 187.4 kB / 1.191 GB, free: 49.97 MB / 0.8575 GB Notification: Performance of SimCode: time 1.583e-06/1.389, allocations: 0 / 1.191 GB, free: 49.97 MB / 0.8575 GB Notification: Performance of Templates: time 0.0977/1.487, allocations: 74.84 MB / 1.264 GB, free: 8.121 MB / 0.8887 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 -s gbode -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/jenkins1/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