Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 210.5 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.302/3.302, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2884,variableFilter="time|theMixValNoEle.conPID.y|theMixVal.conPID.y|genNoEle.THexOut|souDisHot.T|gen.PEle|genNoEle.PEle|sch.y.1.",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat") translateModel(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2884,variableFilter="time|theMixValNoEle.conPID.y|theMixVal.conPID.y|genNoEle.THexOut|souDisHot.T|gen.PEle|genNoEle.PEle|sch.y.1.",fileNamePrefix="Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 76.69 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4389, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat): time 0.2505/0.6893, allocations: 200.8 MB / 1.523 GB, free: 7.527 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.06997/0.7593, allocations: 37.14 MB / 1.559 GB, free: 2.301 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0126/0.7719, allocations: 313.2 kB / 1.56 GB, free: 1.992 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.01109/0.783, allocations: 2.636 MB / 1.562 GB, free: 15.34 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02551/0.8085, allocations: 6.747 MB / 1.569 GB, free: 8.566 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01631/0.8248, allocations: 5.21 MB / 1.574 GB, free: 3.383 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.02533/0.8502, allocations: 13.33 MB / 1.587 GB, free: 6.012 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009576/0.8597, allocations: 3.975 MB / 1.591 GB, free: 1.938 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02007/0.8798, allocations: 6.657 MB / 1.597 GB, free: 11.27 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009484/0.8893, allocations: 3.722 MB / 1.601 GB, free: 7.535 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00233/0.8916, allocations: 0.5352 MB / 1.602 GB, free: 7 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01002/0.9016, allocations: 2.562 MB / 1.604 GB, free: 4.434 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.002828/0.9045, allocations: 1.237 MB / 1.605 GB, free: 3.191 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.006203/0.9107, allocations: 2.279 MB / 1.608 GB, free: 0.9023 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 1.012/1.922, allocations: 8.853 MB / 1.616 GB, free: 52.46 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.922, allocations: 1.688 kB / 1.616 GB, free: 52.46 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.294e-06/1.922, allocations: 0 / 1.616 GB, free: 52.46 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0004375/1.923, allocations: 0 / 1.616 GB, free: 52.46 MB / 1.295 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.02627/1.949, allocations: 6.218 MB / 1.622 GB, free: 50 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/1.949, allocations: 10.94 kB / 1.622 GB, free: 50 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008009/1.957, allocations: 1.15 MB / 1.623 GB, free: 49.7 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01532/1.972, allocations: 4.385 MB / 1.628 GB, free: 48.8 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000592/1.973, allocations: 255.6 kB / 1.628 GB, free: 48.79 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/1.975, allocations: 331.5 kB / 1.628 GB, free: 48.79 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01449/1.989, allocations: 4.287 MB / 1.632 GB, free: 47.76 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/1.989, allocations: 14.59 kB / 1.632 GB, free: 47.76 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005947/1.99, allocations: 138.4 kB / 1.633 GB, free: 47.76 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/1.99, allocations: 82.59 kB / 1.633 GB, free: 47.76 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/2.002, allocations: 3.274 MB / 1.636 GB, free: 47.7 MB / 1.295 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.03472/2.037, allocations: 14.34 MB / 1.65 GB, free: 42.29 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006621/2.044, allocations: 1.846 MB / 1.652 GB, free: 42.23 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002525/2.046, allocations: 0.9025 MB / 1.652 GB, free: 42.21 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/2.048, allocations: 355.7 kB / 1.653 GB, free: 42.2 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003269/2.051, allocations: 1.451 MB / 1.654 GB, free: 41.74 MB / 1.295 GB Notification: Performance of pre-optimization done (n=158): time 5.45e-06/2.051, allocations: 0.5625 kB / 1.654 GB, free: 41.74 MB / 1.295 GB Notification: Performance of matching and sorting (n=158): time 0.008903/2.06, allocations: 2.904 MB / 1.657 GB, free: 41.46 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/2.06, allocations: 200.3 kB / 1.657 GB, free: 41.24 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008583/2.069, allocations: 3.403 MB / 1.661 GB, free: 40.86 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000687/2.069, allocations: 66.09 kB / 1.661 GB, free: 40.83 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.002424/2.072, allocations: 2.167 MB / 1.663 GB, free: 40.04 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/2.073, allocations: 0.5804 MB / 1.663 GB, free: 39.67 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009956/2.074, allocations: 466.1 kB / 1.664 GB, free: 39.62 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.179e-05/2.074, allocations: 309.4 kB / 1.664 GB, free: 39.32 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/2.076, allocations: 0.955 MB / 1.665 GB, free: 39.28 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/2.08, allocations: 2.363 MB / 1.667 GB, free: 37.58 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005405/2.085, allocations: 2.589 MB / 1.67 GB, free: 36.74 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.229e-05/2.085, allocations: 6.906 kB / 1.67 GB, free: 36.74 MB / 1.295 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01027/2.095, allocations: 3.014 MB / 1.673 GB, free: 36.46 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.886e-05/2.095, allocations: 12.34 kB / 1.673 GB, free: 36.46 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.246e-05/2.096, allocations: 27.84 kB / 1.673 GB, free: 36.45 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.809e-05/2.096, allocations: 32.81 kB / 1.673 GB, free: 36.45 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/2.099, allocations: 0.5941 MB / 1.673 GB, free: 36.45 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001117/2.099, allocations: 51.27 kB / 1.673 GB, free: 36.45 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00563/2.104, allocations: 381.5 kB / 1.674 GB, free: 36.33 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007819/2.105, allocations: 123.5 kB / 1.674 GB, free: 36.33 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005896/2.111, allocations: 1.637 MB / 1.676 GB, free: 36.23 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00344/2.115, allocations: 2.324 MB / 1.678 GB, free: 34.54 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005788/2.12, allocations: 2.551 MB / 1.68 GB, free: 33.69 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.515e-05/2.12, allocations: 8.312 kB / 1.68 GB, free: 33.69 MB / 1.295 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009682/2.13, allocations: 2.964 MB / 1.683 GB, free: 33.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/2.13, allocations: 17.75 kB / 1.683 GB, free: 33.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.307e-05/2.13, allocations: 21.91 kB / 1.683 GB, free: 33.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.267e-05/2.13, allocations: 38.55 kB / 1.683 GB, free: 33.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/2.133, allocations: 0.5814 MB / 1.684 GB, free: 33.39 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.151e-05/2.133, allocations: 48.44 kB / 1.684 GB, free: 33.39 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004988/2.138, allocations: 351.8 kB / 1.684 GB, free: 33.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007599/2.139, allocations: 123.2 kB / 1.684 GB, free: 33.3 MB / 1.295 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.001325/2.14, allocations: 333.2 kB / 1.685 GB, free: 33.11 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002246/2.142, allocations: 391.1 kB / 1.685 GB, free: 32.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/2.153, allocations: 3.425 MB / 1.688 GB, free: 32.63 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005396/2.159, allocations: 2.364 MB / 1.691 GB, free: 32.12 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/2.159, allocations: 0 / 1.691 GB, free: 32.12 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00331/2.162, allocations: 0.7366 MB / 1.691 GB, free: 31.88 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/2.164, allocations: 49.83 kB / 1.691 GB, free: 31.88 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003899/2.168, allocations: 202.4 kB / 1.692 GB, free: 31.86 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003994/2.168, allocations: 121.4 kB / 1.692 GB, free: 31.86 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007468/2.176, allocations: 2.724 MB / 1.694 GB, free: 31.52 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009832/2.185, allocations: 4.315 MB / 1.699 GB, free: 30.82 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00251/2.188, allocations: 1.062 MB / 1.7 GB, free: 30.79 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.006178/2.194, allocations: 2.3 MB / 1.702 GB, free: 30.61 MB / 1.295 GB Notification: Performance of Backend: time 6.81e-07/2.194, allocations: 0 / 1.702 GB, free: 30.61 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01799/2.212, allocations: 4.322 MB / 1.706 GB, free: 30.13 MB / 1.295 GB Notification: Performance of SimCode: time 0.02168/2.234, allocations: 8.392 MB / 1.714 GB, free: 26.46 MB / 1.295 GB Notification: Performance of Templates: time 0.1469/2.381, allocations: 92.12 MB / 1.804 GB, free: 3.773 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe ; mkfifo Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe >> ../files/Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.sim & ./Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Loads_HotWater_Examples_HeaterAndFixtureDirectHeatExchangerWithElectricHeat.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Loads.HotWater.Examples.HeaterAndFixtureDirectHeatExchangerWithElectricHeat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.728822848002892]