Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DCLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Sloads|E.S.1.",fileNamePrefix="Buildings_11_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_11_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.001548/0.001548, allocations: 116.6 kB / 16.81 MB, free: 5.77 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.001642/0.001642, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.447/1.447, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.732/2.732, allocations: 476.7 MB / 0.7556 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 64.47 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.3996, allocations: 168.7 MB / 1.262 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.04279/0.4424, allocations: 22.9 MB / 1.284 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04043/0.4828, allocations: 17.8 MB / 1.302 GB, free: 4.16 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00517/0.488, allocations: 111.4 kB / 1.302 GB, free: 4.051 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01529/0.5033, allocations: 4.216 MB / 1.306 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01608/0.5193, allocations: 3.577 MB / 1.31 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00614/0.5255, allocations: 1.321 MB / 1.311 GB, free: 10.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01272/0.5382, allocations: 5.574 MB / 1.316 GB, free: 5.324 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006296/0.5445, allocations: 2.742 MB / 1.319 GB, free: 2.508 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006759/0.5513, allocations: 2.379 MB / 1.321 GB, free: 124 kB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006679/0.5579, allocations: 2.459 MB / 1.324 GB, free: 13.65 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001275/0.5592, allocations: 352 kB / 1.324 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002917/0.5621, allocations: 1.045 MB / 1.325 GB, free: 12.26 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.5636, allocations: 1.18 MB / 1.326 GB, free: 11.08 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002956/0.5665, allocations: 1.963 MB / 1.328 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006951/0.5735, allocations: 5.074 MB / 1.333 GB, free: 4.012 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-05/0.5735, allocations: 0 / 1.333 GB, free: 4.012 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5735, allocations: 0 / 1.333 GB, free: 4.012 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001324/0.5736, allocations: 0 / 1.333 GB, free: 4.012 MB / 1.045 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.009855/0.5835, allocations: 4.507 MB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.5835, allocations: 8.031 kB / 1.337 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/0.6002, allocations: 3.283 MB / 1.341 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00563/0.6058, allocations: 2.219 MB / 1.343 GB, free: 9.805 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/0.606, allocations: 181.1 kB / 1.343 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.6072, allocations: 240.1 kB / 1.343 GB, free: 9.391 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/0.62, allocations: 4.678 MB / 1.348 GB, free: 4.566 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.317e-05/0.6201, allocations: 3.938 kB / 1.348 GB, free: 4.562 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003835/0.6204, allocations: 108 kB / 1.348 GB, free: 4.457 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002531/0.6207, allocations: 176.7 kB / 1.348 GB, free: 4.281 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.6356, allocations: 5.116 MB / 1.353 GB, free: 15.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02481/0.6604, allocations: 13.93 MB / 1.367 GB, free: 52 kB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/0.6718, allocations: 3.432 MB / 1.37 GB, free: 12.61 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003723/0.6755, allocations: 1.291 MB / 1.371 GB, free: 11.31 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.6756, allocations: 29.22 kB / 1.371 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004332/0.68, allocations: 1.7 MB / 1.373 GB, free: 9.52 MB / 1.092 GB Notification: Performance of pre-optimization done (n=163): time 5.51e-06/0.68, allocations: 4 kB / 1.373 GB, free: 9.516 MB / 1.092 GB Notification: Performance of matching and sorting (n=250): time 0.1274/0.8074, allocations: 27.41 MB / 1.4 GB, free: 13.88 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003048/0.8077, allocations: 0.4889 MB / 1.4 GB, free: 13.29 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/0.8112, allocations: 2.3 MB / 1.402 GB, free: 10.97 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004639/0.8117, allocations: 77.7 kB / 1.403 GB, free: 10.89 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/0.8131, allocations: 1.452 MB / 1.404 GB, free: 9.426 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.8142, allocations: 0.8598 MB / 1.405 GB, free: 8.559 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008575/0.815, allocations: 420.5 kB / 1.405 GB, free: 8.141 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8152, allocations: 301.1 kB / 1.405 GB, free: 7.844 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005316/0.8205, allocations: 1.751 MB / 1.407 GB, free: 6.082 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005661/0.8261, allocations: 2.048 MB / 1.409 GB, free: 3.949 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/0.837, allocations: 3.841 MB / 1.413 GB, free: 15.97 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.837, allocations: 0 / 1.413 GB, free: 15.97 MB / 1.139 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01696/0.854, allocations: 5.756 MB / 1.419 GB, free: 10.12 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.8541, allocations: 144.5 kB / 1.419 GB, free: 9.949 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.8541, allocations: 8 kB / 1.419 GB, free: 9.941 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006497/0.8606, allocations: 1.833 MB / 1.421 GB, free: 8.105 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.8638, allocations: 0.4953 MB / 1.421 GB, free: 7.609 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0257/0.8895, allocations: 15.44 MB / 1.436 GB, free: 7.934 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004203/0.8937, allocations: 303.6 kB / 1.436 GB, free: 7.637 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003772/0.8941, allocations: 91.97 kB / 1.436 GB, free: 7.547 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006372/0.9005, allocations: 2.315 MB / 1.439 GB, free: 5.227 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005555/0.906, allocations: 2.023 MB / 1.441 GB, free: 3.121 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01058/0.9166, allocations: 3.798 MB / 1.444 GB, free: 15.19 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.289e-05/0.9166, allocations: 8 kB / 1.444 GB, free: 15.18 MB / 1.17 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01657/0.9332, allocations: 5.593 MB / 1.45 GB, free: 9.492 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.9333, allocations: 148.5 kB / 1.45 GB, free: 9.316 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.9333, allocations: 11.94 kB / 1.45 GB, free: 9.305 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005803/0.9391, allocations: 1.669 MB / 1.452 GB, free: 7.629 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/0.9423, allocations: 0.5187 MB / 1.452 GB, free: 7.109 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02392/0.9662, allocations: 14.63 MB / 1.466 GB, free: 8.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003934/0.9702, allocations: 295.6 kB / 1.467 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003465/0.9705, allocations: 95.97 kB / 1.467 GB, free: 7.809 MB / 1.186 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.0007254/0.9712, allocations: 323 kB / 1.467 GB, free: 7.484 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006866/0.9719, allocations: 349.8 kB / 1.467 GB, free: 7.141 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009335/0.9729, allocations: 392.1 kB / 1.468 GB, free: 6.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.9729, allocations: 11.95 kB / 1.468 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.9729, allocations: 4 kB / 1.468 GB, free: 6.734 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.9742, allocations: 0.6744 MB / 1.469 GB, free: 6.039 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004949/0.9747, allocations: 51.98 kB / 1.469 GB, free: 5.988 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/0.9777, allocations: 295.5 kB / 1.469 GB, free: 5.699 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008668/0.9786, allocations: 353.4 kB / 1.469 GB, free: 5.352 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01907/0.9976, allocations: 5.718 MB / 1.475 GB, free: 15.62 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01601/1.014, allocations: 6.044 MB / 1.481 GB, free: 9.551 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005018/1.019, allocations: 1.908 MB / 1.483 GB, free: 7.645 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002474/1.021, allocations: 1.533 MB / 1.484 GB, free: 6.113 MB / 1.201 GB Notification: Performance of Backend: time 7.81e-07/1.021, allocations: 0 / 1.484 GB, free: 6.113 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02314/1.044, allocations: 7.85 MB / 1.492 GB, free: 14.08 MB / 1.217 GB Notification: Performance of SimCode: time 0.01522/1.06, allocations: 7.717 MB / 1.499 GB, free: 6.328 MB / 1.217 GB Notification: Performance of Templates: time 0.7709/1.83, allocations: 94.64 MB / 1.592 GB, free: 262 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.makefile (rm -f Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.sim & ./Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Lines_Examples_DCLines.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Lines.Examples.DCLines.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches