Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.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.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theMixValNoEle.conPID.y|theMixVal.conPID.y|genNoEle.THexOut|souDisHot.T|gen.PEle|genNoEle.PEle|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat") translateModel(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|theMixValNoEle.conPID.y|theMixVal.conPID.y|genNoEle.THexOut|souDisHot.T|gen.PEle|genNoEle.PEle|sch.y.1.",fileNamePrefix="Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001125/0.001125, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.388/1.388, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 71.77 kB / 1.055 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9413/0.9429, allocations: 157.4 MB / 1.208 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat): time 0.2178/1.161, allocations: 217.4 MB / 1.421 GB, free: 3.59 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.05862/1.219, allocations: 39.55 MB / 1.459 GB, free: 11.94 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009508/1.229, allocations: 218.7 kB / 1.46 GB, free: 11.72 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.009/1.238, allocations: 2.628 MB / 1.462 GB, free: 9.074 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.02085/1.259, allocations: 6.343 MB / 1.468 GB, free: 2.703 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01375/1.273, allocations: 5.134 MB / 1.473 GB, free: 13.6 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.02055/1.293, allocations: 13.22 MB / 1.486 GB, free: 356 kB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008763/1.302, allocations: 5.067 MB / 1.491 GB, free: 11.19 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01603/1.318, allocations: 6.164 MB / 1.497 GB, free: 5.016 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00756/1.326, allocations: 3.64 MB / 1.501 GB, free: 1.359 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002022/1.328, allocations: 0.5312 MB / 1.501 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00905/1.337, allocations: 3.003 MB / 1.504 GB, free: 13.82 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.00258/1.339, allocations: 1.207 MB / 1.505 GB, free: 12.61 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.006315/1.346, allocations: 2.881 MB / 1.508 GB, free: 9.715 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01704/1.363, allocations: 8.753 MB / 1.517 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.363, allocations: 0 / 1.517 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.114e-06/1.363, allocations: 0 / 1.517 GB, free: 0.9375 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0002841/1.363, allocations: 0 / 1.517 GB, free: 0.9375 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01315/1.376, allocations: 5.489 MB / 1.522 GB, free: 11.37 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.376, allocations: 8.031 kB / 1.522 GB, free: 11.36 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005727/1.382, allocations: 1.114 MB / 1.523 GB, free: 10.24 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01004/1.392, allocations: 4.356 MB / 1.527 GB, free: 5.824 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002889/1.393, allocations: 254.5 kB / 1.528 GB, free: 5.574 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009819/1.394, allocations: 335.8 kB / 1.528 GB, free: 5.246 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009217/1.403, allocations: 3.907 MB / 1.532 GB, free: 1.152 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.523e-05/1.403, allocations: 7.938 kB / 1.532 GB, free: 1.145 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003951/1.403, allocations: 140 kB / 1.532 GB, free: 1.008 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.373e-05/1.403, allocations: 84 kB / 1.532 GB, free: 0.9258 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008496/1.412, allocations: 3.275 MB / 1.535 GB, free: 13.64 MB / 1.264 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03477/1.447, allocations: 21.23 MB / 1.556 GB, free: 6.816 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006797/1.454, allocations: 1.934 MB / 1.558 GB, free: 4.875 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002698/1.456, allocations: 0.9689 MB / 1.559 GB, free: 3.906 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003027/1.459, allocations: 3.187 MB / 1.562 GB, free: 20 kB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.7344/2.194, allocations: 1.151 MB / 1.563 GB, free: 342.1 MB / 1.279 GB Notification: Performance of pre-optimization done (n=158): time 4.449e-06/2.194, allocations: 0 / 1.563 GB, free: 342.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=158): time 0.009117/2.203, allocations: 2.939 MB / 1.566 GB, free: 341.4 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/2.203, allocations: 205.1 kB / 1.566 GB, free: 341.2 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007105/2.21, allocations: 3.97 MB / 1.57 GB, free: 339.7 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0004329/2.211, allocations: 61.39 kB / 1.57 GB, free: 339.7 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.001982/2.213, allocations: 2.089 MB / 1.572 GB, free: 338.4 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007042/2.213, allocations: 0.5487 MB / 1.573 GB, free: 338 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007579/2.214, allocations: 463.4 kB / 1.573 GB, free: 337.8 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 5.127e-05/2.214, allocations: 303.3 kB / 1.573 GB, free: 337.5 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/2.217, allocations: 0.9525 MB / 1.574 GB, free: 337.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00296/2.22, allocations: 1.757 MB / 1.576 GB, free: 335.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004946/2.225, allocations: 2.586 MB / 1.579 GB, free: 334.3 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.447e-05/2.225, allocations: 7.844 kB / 1.579 GB, free: 334.3 MB / 1.279 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007483/2.232, allocations: 3.048 MB / 1.582 GB, free: 333.1 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/2.232, allocations: 14.39 kB / 1.582 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-05/2.232, allocations: 26 kB / 1.582 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.991e-05/2.232, allocations: 31.62 kB / 1.582 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/2.234, allocations: 0.6031 MB / 1.582 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.684e-05/2.235, allocations: 44.09 kB / 1.582 GB, free: 333.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/2.238, allocations: 463.4 kB / 1.583 GB, free: 332.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002431/2.238, allocations: 117.1 kB / 1.583 GB, free: 332.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003745/2.242, allocations: 1.632 MB / 1.584 GB, free: 332.1 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002705/2.245, allocations: 1.723 MB / 1.586 GB, free: 330.8 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004449/2.249, allocations: 2.545 MB / 1.589 GB, free: 329.2 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.994e-05/2.249, allocations: 7.875 kB / 1.589 GB, free: 329.2 MB / 1.279 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.007118/2.257, allocations: 3.005 MB / 1.591 GB, free: 328 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/2.257, allocations: 12.53 kB / 1.591 GB, free: 328 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/2.257, allocations: 22.22 kB / 1.592 GB, free: 328 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.391e-05/2.257, allocations: 34.16 kB / 1.592 GB, free: 328 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002174/2.259, allocations: 0.589 MB / 1.592 GB, free: 328 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-05/2.259, allocations: 50.48 kB / 1.592 GB, free: 328 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003526/2.262, allocations: 356.3 kB / 1.593 GB, free: 327.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000259/2.263, allocations: 123.3 kB / 1.593 GB, free: 327.9 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$PRE.sch.nextTimeEvent,$whenCondition1,theMixValNoEle.conPID.con1.y,theMixVal.conPID.con1.y,sch.nextTimeEventScaled,$PRE.sch.nextTimeEventScaled,sch.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006894/2.263, allocations: 331.5 kB / 1.593 GB, free: 327.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/2.265, allocations: 438.4 kB / 1.593 GB, free: 327.3 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007278/2.272, allocations: 3.417 MB / 1.597 GB, free: 326.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004258/2.276, allocations: 2.331 MB / 1.599 GB, free: 324.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/2.276, allocations: 256 / 1.599 GB, free: 324.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002065/2.278, allocations: 0.8494 MB / 1.6 GB, free: 323.5 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/2.279, allocations: 55.69 kB / 1.6 GB, free: 323.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/2.283, allocations: 196.4 kB / 1.6 GB, free: 323.3 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/2.283, allocations: 133.4 kB / 1.6 GB, free: 323.2 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006239/2.289, allocations: 2.701 MB / 1.603 GB, free: 320.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008042/2.297, allocations: 4.28 MB / 1.607 GB, free: 316.6 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002099/2.299, allocations: 1.136 MB / 1.608 GB, free: 315.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.005384/2.305, allocations: 2.732 MB / 1.611 GB, free: 312.7 MB / 1.279 GB Notification: Performance of Backend: time 1.373e-06/2.305, allocations: 0 / 1.611 GB, free: 312.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01393/2.319, allocations: 4.392 MB / 1.615 GB, free: 308.8 MB / 1.279 GB Notification: Performance of SimCode: time 0.02077/2.339, allocations: 8.919 MB / 1.624 GB, free: 299.9 MB / 1.279 GB Notification: Performance of Templates: time 0.1244/2.464, allocations: 93.75 MB / 1.715 GB, free: 207.2 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.makefile (rm -f Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe ; mkfifo Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe >> ../files/Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.sim & ./Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Loads_HotWater_Examples_HeaterAndFixtureDirectHeatExchangerWithElectricHeat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches