Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007156/0.007156, allocations: 96.67 kB / 15.73 MB, free: 5.988 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.001636/0.001636, allocations: 187.9 kB / 16.67 MB, free: 5.918 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437 MB / 0.7105 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 59.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3606, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized): time 0.02843/0.389, allocations: 22.63 MB / 1.189 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03182/0.4209, allocations: 17.64 MB / 1.206 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004938/0.4259, allocations: 111.4 kB / 1.206 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/0.4374, allocations: 4.17 MB / 1.21 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01265/0.45, allocations: 3.576 MB / 1.214 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004527/0.4546, allocations: 1.318 MB / 1.215 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0109/0.4655, allocations: 5.793 MB / 1.221 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007836/0.4734, allocations: 3.584 MB / 1.224 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006551/0.48, allocations: 2.476 MB / 1.226 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006812/0.4868, allocations: 2.444 MB / 1.229 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00209/0.4889, allocations: 368 kB / 1.229 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004784/0.4937, allocations: 1.037 MB / 1.23 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002483/0.4963, allocations: 1.2 MB / 1.231 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.005538/0.5018, allocations: 1.994 MB / 1.233 GB, free: 2.191 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.009947/0.5118, allocations: 5.191 MB / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.5118, allocations: 3.984 kB / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5118, allocations: 0 / 1.238 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002503/0.5121, allocations: 0 / 1.238 GB, free: 12.98 MB / 0.9981 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.01316/0.5253, allocations: 4.71 MB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.5253, allocations: 12.03 kB / 1.243 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01611/0.5414, allocations: 3.283 MB / 1.246 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006873/0.5483, allocations: 2.258 MB / 1.248 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005443/0.5489, allocations: 466.2 kB / 1.249 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001343/0.5503, allocations: 239.9 kB / 1.249 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8266/1.377, allocations: 4.808 MB / 1.254 GB, free: 74.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.732e-05/1.377, allocations: 2.031 kB / 1.254 GB, free: 74.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003723/1.377, allocations: 102.9 kB / 1.254 GB, free: 74.75 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002902/1.378, allocations: 174.5 kB / 1.254 GB, free: 74.74 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/1.394, allocations: 5.195 MB / 1.259 GB, free: 73.32 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02331/1.418, allocations: 14.41 MB / 1.273 GB, free: 63.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009499/1.427, allocations: 3.393 MB / 1.277 GB, free: 62.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003826/1.431, allocations: 1.467 MB / 1.278 GB, free: 62.09 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000153/1.431, allocations: 26.41 kB / 1.278 GB, free: 62.09 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004178/1.436, allocations: 1.787 MB / 1.28 GB, free: 61.45 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=163): time 3.567e-06/1.436, allocations: 3.938 kB / 1.28 GB, free: 61.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=250): time 0.1285/1.564, allocations: 28.3 MB / 1.307 GB, free: 51.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002003/1.564, allocations: 0.4902 MB / 1.308 GB, free: 51.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/1.568, allocations: 2.306 MB / 1.31 GB, free: 49.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004072/1.569, allocations: 76.05 kB / 1.31 GB, free: 49.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001044/1.57, allocations: 1.453 MB / 1.312 GB, free: 48.67 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008038/1.571, allocations: 0.8627 MB / 1.312 GB, free: 48.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/1.572, allocations: 416.9 kB / 1.313 GB, free: 47.81 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.535e-05/1.572, allocations: 302.7 kB / 1.313 GB, free: 47.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00474/1.577, allocations: 1.935 MB / 1.315 GB, free: 46.53 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004933/1.582, allocations: 2.225 MB / 1.317 GB, free: 45.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009205/1.591, allocations: 4.166 MB / 1.321 GB, free: 42.87 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/1.591, allocations: 3.688 kB / 1.321 GB, free: 42.87 MB / 0.9981 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.0186/1.609, allocations: 6.555 MB / 1.328 GB, free: 38.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.131e-05/1.61, allocations: 148.5 kB / 1.328 GB, free: 38.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/1.61, allocations: 4 kB / 1.328 GB, free: 38.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00905/1.619, allocations: 2.928 MB / 1.331 GB, free: 35.11 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002708/1.621, allocations: 487.2 kB / 1.331 GB, free: 34.64 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.034/1.655, allocations: 18.87 MB / 1.35 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004464/1.66, allocations: 319.6 kB / 1.35 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006526/1.661, allocations: 91.97 kB / 1.35 GB, free: 15.16 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.002318/1.663, allocations: 0.7045 MB / 1.351 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.664, allocations: 345.9 kB / 1.351 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/1.665, allocations: 384.1 kB / 1.351 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.665, allocations: 24 kB / 1.351 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-05/1.665, allocations: 11.19 kB / 1.351 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/1.665, allocations: 15.95 kB / 1.351 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005083/1.67, allocations: 3.622 MB / 1.355 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.67, allocations: 3.938 kB / 1.355 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002251/1.673, allocations: 415.4 kB / 1.355 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008285/1.681, allocations: 2.872 MB / 1.358 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003954/1.681, allocations: 43.98 kB / 1.358 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0362/1.718, allocations: 18.64 MB / 1.376 GB, free: 3.797 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/1.718, allocations: 0 / 1.376 GB, free: 3.797 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/1.736, allocations: 6.189 MB / 1.382 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/1.738, allocations: 0.7135 MB / 1.383 GB, free: 12.85 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007022/1.739, allocations: 51.92 kB / 1.383 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003222/1.742, allocations: 307.6 kB / 1.383 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001281/1.744, allocations: 354.7 kB / 1.384 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002232/1.744, allocations: 71.97 kB / 1.384 GB, free: 12.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002241/1.746, allocations: 1.536 MB / 1.385 GB, free: 10.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.6e-07/1.746, allocations: 0 / 1.385 GB, free: 10.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003862/1.75, allocations: 1.047 MB / 1.386 GB, free: 9.496 MB / 1.029 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.0004389/1.75, allocations: 167.5 kB / 1.387 GB, free: 9.324 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02309/1.774, allocations: 6.488 MB / 1.393 GB, free: 2.746 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.774, allocations: 0 / 1.393 GB, free: 2.746 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.01767/1.791, allocations: 4.073 MB / 1.397 GB, free: 14.65 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/1.797, allocations: 1.144 MB / 1.398 GB, free: 13.57 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/1.814, allocations: 6.795 MB / 1.405 GB, free: 6.75 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002569/1.817, allocations: 2.223 MB / 1.407 GB, free: 4.492 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002848/1.82, allocations: 0.5099 MB / 1.407 GB, free: 3.977 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/1.82, allocations: 187.4 kB / 1.407 GB, free: 3.793 MB / 1.045 GB Notification: Performance of SimCode: time 1.212e-06/1.82, allocations: 0 / 1.407 GB, free: 3.793 MB / 1.045 GB Notification: Performance of Templates: time 0.1345/1.955, allocations: 75.66 MB / 1.481 GB, free: 9.105 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Lines_Examples_DCLinesLinearized.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches