Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009586/0.0009586, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00867/0.00867, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.511/1.511, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.793/2.793, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003774, allocations: 12.84 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3641, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02458/0.3887, allocations: 21.68 MB / 1.08 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02854/0.4173, allocations: 17.36 MB / 1.097 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005024/0.4224, allocations: 107.4 kB / 1.097 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003095/0.4255, allocations: 0.5813 MB / 1.097 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01465/0.4402, allocations: 3.197 MB / 1.101 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/0.4448, allocations: 1.188 MB / 1.102 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0107/0.4555, allocations: 6.865 MB / 1.108 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004181/0.4598, allocations: 2.503 MB / 1.111 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003902/0.4637, allocations: 1.941 MB / 1.113 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004642/0.4684, allocations: 2.245 MB / 1.115 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007367/0.4691, allocations: 164 kB / 1.115 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.4716, allocations: 1.037 MB / 1.116 GB, free: 9.883 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.4727, allocations: 0.9495 MB / 1.117 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.4755, allocations: 1.754 MB / 1.119 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007742/0.4832, allocations: 4.818 MB / 1.123 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4833, allocations: 0 / 1.123 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4833, allocations: 4 kB / 1.123 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000159/0.4835, allocations: 0 / 1.123 GB, free: 2.32 MB / 0.8731 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.01019/0.4937, allocations: 3.838 MB / 1.127 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.4937, allocations: 19.97 kB / 1.127 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.511, allocations: 3.359 MB / 1.13 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004666/0.5157, allocations: 2.06 MB / 1.133 GB, free: 8.855 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001623/0.5159, allocations: 173.1 kB / 1.133 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005627/0.5165, allocations: 240.1 kB / 1.133 GB, free: 8.449 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.5298, allocations: 4.744 MB / 1.138 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-05/0.5299, allocations: 0 / 1.138 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003735/0.5303, allocations: 112 kB / 1.138 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000231/0.5305, allocations: 168.8 kB / 1.138 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.5448, allocations: 5.241 MB / 1.143 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02526/0.5701, allocations: 14.12 MB / 1.157 GB, free: 14.72 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01207/0.5823, allocations: 3.845 MB / 1.16 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004089/0.5864, allocations: 1.518 MB / 1.162 GB, free: 9.348 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.5866, allocations: 33.12 kB / 1.162 GB, free: 9.32 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00463/0.5912, allocations: 1.83 MB / 1.164 GB, free: 7.426 MB / 0.92 GB Notification: Performance of pre-optimization done (n=163): time 3.757e-06/0.5912, allocations: 0 / 1.164 GB, free: 7.426 MB / 0.92 GB Notification: Performance of matching and sorting (n=250): time 0.1361/0.7273, allocations: 33.42 MB / 1.196 GB, free: 5.789 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002683/0.7276, allocations: 0.4889 MB / 1.197 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004239/0.7319, allocations: 2.304 MB / 1.199 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0003748/0.7323, allocations: 77.7 kB / 1.199 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.7336, allocations: 1.43 MB / 1.201 GB, free: 1.344 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008991/0.7346, allocations: 0.8201 MB / 1.201 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004422/0.735, allocations: 186.4 kB / 1.202 GB, free: 332 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.7351, allocations: 305.1 kB / 1.202 GB, free: 24 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005481/0.7406, allocations: 1.933 MB / 1.204 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00564/0.7463, allocations: 2.231 MB / 1.206 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.7575, allocations: 4.22 MB / 1.21 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.671e-05/0.7575, allocations: 4 kB / 1.21 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01817/0.7757, allocations: 6.196 MB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003202/0.776, allocations: 407.5 kB / 1.216 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.7761, allocations: 15.94 kB / 1.217 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007306/0.7834, allocations: 1.848 MB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/0.7869, allocations: 0.5852 MB / 1.219 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02578/0.8127, allocations: 14.19 MB / 1.233 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00456/0.8174, allocations: 403.6 kB / 1.233 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005502/0.8179, allocations: 87.97 kB / 1.233 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.818, allocations: 9.719 kB / 1.233 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01773/0.8357, allocations: 5.784 MB / 1.239 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.915e-05/0.8358, allocations: 4 kB / 1.239 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005821/0.8416, allocations: 1.821 MB / 1.241 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003438/0.8451, allocations: 0.6085 MB / 1.241 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7784/1.624, allocations: 13.46 MB / 1.254 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004353/1.628, allocations: 402.4 kB / 1.255 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003014/1.628, allocations: 93 kB / 1.255 GB, free: 170.6 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 (172): * Single equations (assignments): 165 * 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 {(10,52)} Notification: Performance of prepare postOptimizeDAE: time 0.001742/1.63, allocations: 0.7819 MB / 1.256 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005934/1.631, allocations: 332.7 kB / 1.256 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008876/1.632, allocations: 396.2 kB / 1.256 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.632, allocations: 23.59 kB / 1.256 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.596e-05/1.632, allocations: 11.73 kB / 1.256 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/1.632, allocations: 10.03 kB / 1.256 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004736/1.636, allocations: 3.164 MB / 1.259 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.636, allocations: 2.312 kB / 1.259 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.639, allocations: 0.522 MB / 1.26 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006407/1.645, allocations: 1.716 MB / 1.262 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004265/1.646, allocations: 50.5 kB / 1.262 GB, free: 170.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02449/1.67, allocations: 13.97 MB / 1.275 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.67, allocations: 1.375 kB / 1.275 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01668/1.687, allocations: 5.806 MB / 1.281 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001848/1.689, allocations: 0.6674 MB / 1.282 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005456/1.69, allocations: 47.47 kB / 1.282 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/1.693, allocations: 395.3 kB / 1.282 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001043/1.694, allocations: 299.3 kB / 1.282 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.694, allocations: 69.48 kB / 1.282 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002218/1.696, allocations: 1.535 MB / 1.284 GB, free: 163 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.696, allocations: 3.281 kB / 1.284 GB, free: 163 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005171/1.701, allocations: 1.621 MB / 1.286 GB, free: 162.9 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 (128): * Single equations (assignments): 116 * 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,52)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004001/1.702, allocations: 167.4 kB / 1.286 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.02308/1.725, allocations: 10.11 MB / 1.296 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-05/1.725, allocations: 3.875 kB / 1.296 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008783/1.734, allocations: 3.495 MB / 1.299 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007296/1.741, allocations: 1.05 MB / 1.3 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/1.757, allocations: 7.956 MB / 1.308 GB, free: 153 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/1.759, allocations: 2.303 MB / 1.31 GB, free: 151.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003319/1.762, allocations: 0.6387 MB / 1.311 GB, free: 151.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007188/1.763, allocations: 179.4 kB / 1.311 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.854e-06/1.763, allocations: 0 / 1.311 GB, free: 150.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.1106/1.874, allocations: 76.13 MB / 1.385 GB, free: 75.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Lines_Examples_DCLines.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Lines.Examples.DCLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches