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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001695/0.001701, allocations: 106 kB / 16.41 MB, free: 6.457 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.002159/0.002159, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.42/1.42, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.727/2.727, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.83 kB / 1.065 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8118/0.8137, allocations: 159.1 MB / 1.221 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.DCLines): time 0.02711/0.8409, allocations: 22.61 MB / 1.243 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02612/0.867, allocations: 17.63 MB / 1.26 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003518/0.8706, allocations: 107.4 kB / 1.26 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.8815, allocations: 4.18 MB / 1.264 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.8929, allocations: 3.567 MB / 1.268 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004766/0.8977, allocations: 1.318 MB / 1.269 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01095/0.9087, allocations: 5.593 MB / 1.275 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006809/0.9155, allocations: 3.526 MB / 1.278 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/0.9203, allocations: 2.371 MB / 1.28 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004881/0.9252, allocations: 2.405 MB / 1.283 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001321/0.9266, allocations: 348 kB / 1.283 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.9298, allocations: 1.018 MB / 1.284 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.9318, allocations: 1.16 MB / 1.285 GB, free: 284 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004461/0.9363, allocations: 1.959 MB / 1.287 GB, free: 14.31 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00847/0.9448, allocations: 5.06 MB / 1.292 GB, free: 9.234 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.9448, allocations: 0 / 1.292 GB, free: 9.234 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.953e-06/0.9449, allocations: 0 / 1.292 GB, free: 9.234 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002054/0.9451, allocations: 0 / 1.292 GB, free: 9.234 MB / 1.014 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.01309/0.9582, allocations: 4.386 MB / 1.296 GB, free: 4.734 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.9582, allocations: 8.625 kB / 1.296 GB, free: 4.727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01713/0.9754, allocations: 3.257 MB / 1.299 GB, free: 1.461 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.9813, allocations: 2.201 MB / 1.302 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.9815, allocations: 177.1 kB / 1.302 GB, free: 15.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001019/0.9825, allocations: 240.1 kB / 1.302 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01333/0.9959, allocations: 4.678 MB / 1.307 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-05/0.996, allocations: 3.938 kB / 1.307 GB, free: 9.949 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007015/0.9967, allocations: 108 kB / 1.307 GB, free: 9.844 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002324/0.997, allocations: 176.8 kB / 1.307 GB, free: 9.668 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/1.013, allocations: 5.109 MB / 1.312 GB, free: 4.543 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02767/1.041, allocations: 13.91 MB / 1.325 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.053, allocations: 3.564 MB / 1.329 GB, free: 1.891 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003951/1.057, allocations: 1.397 MB / 1.33 GB, free: 500 kB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/1.057, allocations: 33.22 kB / 1.33 GB, free: 468 kB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00462/1.061, allocations: 1.696 MB / 1.332 GB, free: 14.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=163): time 5.189e-06/1.061, allocations: 0 / 1.332 GB, free: 14.69 MB / 1.061 GB Notification: Performance of matching and sorting (n=250): time 0.1307/1.192, allocations: 27.43 MB / 1.359 GB, free: 3.039 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003075/1.192, allocations: 0.4889 MB / 1.359 GB, free: 2.441 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004212/1.197, allocations: 2.3 MB / 1.362 GB, free: 132 kB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0005052/1.197, allocations: 81.69 kB / 1.362 GB, free: 44 kB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001491/1.199, allocations: 1.434 MB / 1.363 GB, free: 14.59 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.2, allocations: 0.8162 MB / 1.364 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/1.201, allocations: 416.4 kB / 1.364 GB, free: 13.35 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000131/1.201, allocations: 301.1 kB / 1.364 GB, free: 13.05 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005267/1.206, allocations: 1.755 MB / 1.366 GB, free: 11.29 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005918/1.212, allocations: 2.048 MB / 1.368 GB, free: 9.156 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01046/1.223, allocations: 3.841 MB / 1.372 GB, free: 5.18 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.223, allocations: 4 kB / 1.372 GB, free: 5.176 MB / 1.092 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.01682/1.24, allocations: 5.81 MB / 1.378 GB, free: 15.27 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/1.24, allocations: 150.2 kB / 1.378 GB, free: 15.1 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/1.24, allocations: 7.938 kB / 1.378 GB, free: 15.09 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006779/1.247, allocations: 1.836 MB / 1.38 GB, free: 13.25 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/1.25, allocations: 0.4953 MB / 1.38 GB, free: 12.76 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02592/1.276, allocations: 15.4 MB / 1.395 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/1.28, allocations: 307.6 kB / 1.395 GB, free: 12.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004115/1.28, allocations: 87.97 kB / 1.395 GB, free: 12.72 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006305/1.286, allocations: 2.312 MB / 1.398 GB, free: 10.4 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005374/1.292, allocations: 2.024 MB / 1.4 GB, free: 8.293 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01046/1.302, allocations: 3.81 MB / 1.403 GB, free: 4.348 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-05/1.302, allocations: 0 / 1.403 GB, free: 4.348 MB / 1.123 GB Notification: Performance of matching and sorting (n=299) (initialization_lambda0): time 0.01687/1.319, allocations: 5.645 MB / 1.409 GB, free: 14.61 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.319, allocations: 148.5 kB / 1.409 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.319, allocations: 7.938 kB / 1.409 GB, free: 14.42 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006/1.325, allocations: 1.681 MB / 1.411 GB, free: 12.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/1.329, allocations: 0.5109 MB / 1.411 GB, free: 12.22 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02498/1.354, allocations: 14.6 MB / 1.425 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/1.358, allocations: 311.6 kB / 1.426 GB, free: 13.03 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004998/1.359, allocations: 87.97 kB / 1.426 GB, free: 12.94 MB / 1.154 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.0009086/1.36, allocations: 322.7 kB / 1.426 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001147/1.361, allocations: 336.1 kB / 1.426 GB, free: 12.29 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/1.362, allocations: 396.1 kB / 1.427 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/1.362, allocations: 11.95 kB / 1.427 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.362, allocations: 0 / 1.427 GB, free: 11.88 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001695/1.364, allocations: 0.661 MB / 1.428 GB, free: 11.2 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008588/1.365, allocations: 44 kB / 1.428 GB, free: 11.15 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003419/1.368, allocations: 303.5 kB / 1.428 GB, free: 10.86 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000864/1.369, allocations: 353.4 kB / 1.428 GB, free: 10.51 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0187/1.388, allocations: 5.705 MB / 1.434 GB, free: 4.789 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0174/1.405, allocations: 6.022 MB / 1.44 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005204/1.41, allocations: 1.959 MB / 1.442 GB, free: 12.78 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002622/1.413, allocations: 1.532 MB / 1.443 GB, free: 11.25 MB / 1.17 GB Notification: Performance of Backend: time 5.41e-07/1.413, allocations: 0 / 1.443 GB, free: 11.25 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.02108/1.434, allocations: 8.146 MB / 1.451 GB, free: 2.922 MB / 1.17 GB Notification: Performance of SimCode: time 0.0129/1.447, allocations: 7.559 MB / 1.458 GB, free: 11.34 MB / 1.186 GB Notification: Performance of Templates: time 0.1453/1.592, allocations: 92.46 MB / 1.549 GB, free: 15.71 MB / 1.279 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/jenkins1/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