Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 115.2 kB / 16.42 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.001426/0.001426, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.413/1.413, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.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.55/2.55, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 67.83 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8156/0.8171, allocations: 151.6 MB / 1.167 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2544/1.071, allocations: 236.4 MB / 1.398 GB, free: 6.637 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02701/1.099, allocations: 17.54 MB / 1.415 GB, free: 5.047 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00363/1.102, allocations: 91.5 kB / 1.415 GB, free: 4.957 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006465/1.109, allocations: 2.161 MB / 1.418 GB, free: 2.793 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/1.119, allocations: 3.7 MB / 1.421 GB, free: 15.07 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007874/1.127, allocations: 2.611 MB / 1.424 GB, free: 12.47 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01285/1.14, allocations: 7.877 MB / 1.431 GB, free: 4.586 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003683/1.144, allocations: 1.942 MB / 1.433 GB, free: 2.59 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00642/1.15, allocations: 2.775 MB / 1.436 GB, free: 15.8 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00351/1.154, allocations: 1.632 MB / 1.438 GB, free: 14.17 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0008373/1.155, allocations: 208 kB / 1.438 GB, free: 13.97 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00766/1.162, allocations: 3.613 MB / 1.441 GB, free: 10.35 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001448/1.164, allocations: 0.888 MB / 1.442 GB, free: 9.457 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002564/1.166, allocations: 1.391 MB / 1.444 GB, free: 8.059 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009627/1.176, allocations: 4.928 MB / 1.448 GB, free: 3.113 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.176, allocations: 0 / 1.448 GB, free: 3.113 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/1.176, allocations: 4 kB / 1.448 GB, free: 3.109 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001286/1.176, allocations: 0 / 1.448 GB, free: 3.109 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007235/1.183, allocations: 3.347 MB / 1.452 GB, free: 15.68 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.183, allocations: 11.98 kB / 1.452 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00585/1.189, allocations: 0.8919 MB / 1.453 GB, free: 14.77 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00605/1.195, allocations: 2.816 MB / 1.455 GB, free: 11.88 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/1.196, allocations: 106.6 kB / 1.455 GB, free: 11.78 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004704/1.196, allocations: 147.9 kB / 1.456 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00404/1.2, allocations: 1.668 MB / 1.457 GB, free: 9.887 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.994e-05/1.2, allocations: 0 / 1.457 GB, free: 9.887 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/1.2, allocations: 56 kB / 1.457 GB, free: 9.832 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/1.2, allocations: 58.45 kB / 1.457 GB, free: 9.773 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/1.204, allocations: 1.442 MB / 1.459 GB, free: 8.324 MB / 1.186 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.01303/1.217, allocations: 8.126 MB / 1.467 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/1.22, allocations: 1.571 MB / 1.468 GB, free: 13.91 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/1.221, allocations: 0.5102 MB / 1.469 GB, free: 13.39 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/1.223, allocations: 0.7824 MB / 1.469 GB, free: 12.46 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001296/1.224, allocations: 0.5352 MB / 1.47 GB, free: 11.92 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 3.056e-06/1.224, allocations: 0 / 1.47 GB, free: 11.92 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.004501/1.229, allocations: 1.611 MB / 1.471 GB, free: 10.28 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/1.229, allocations: 60.06 kB / 1.472 GB, free: 10.21 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/1.232, allocations: 2.164 MB / 1.474 GB, free: 8.02 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/1.232, allocations: 41.7 kB / 1.474 GB, free: 7.973 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009993/1.233, allocations: 1.076 MB / 1.475 GB, free: 6.883 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003173/1.234, allocations: 317.4 kB / 1.475 GB, free: 6.57 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004926/1.234, allocations: 314.7 kB / 1.475 GB, free: 6.258 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/1.234, allocations: 309.1 kB / 1.476 GB, free: 5.953 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/1.236, allocations: 0.6235 MB / 1.476 GB, free: 5.328 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/1.237, allocations: 1.01 MB / 1.477 GB, free: 4.164 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/1.24, allocations: 1.563 MB / 1.479 GB, free: 2.477 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.24, allocations: 0 / 1.479 GB, free: 2.477 MB / 1.201 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003734/1.244, allocations: 1.907 MB / 1.481 GB, free: 0.5508 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.341e-05/1.244, allocations: 37.69 kB / 1.481 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/1.244, allocations: 12 kB / 1.481 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/1.244, allocations: 16 kB / 1.481 GB, free: 492 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.245, allocations: 324 kB / 1.481 GB, free: 168 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.304e-05/1.245, allocations: 23.92 kB / 1.481 GB, free: 144 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/1.247, allocations: 183.1 kB / 1.481 GB, free: 15.96 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/1.247, allocations: 59.98 kB / 1.481 GB, free: 15.9 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002053/1.249, allocations: 1.108 MB / 1.482 GB, free: 14.79 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001623/1.251, allocations: 1.01 MB / 1.483 GB, free: 13.62 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002719/1.253, allocations: 1.554 MB / 1.485 GB, free: 11.93 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.634e-06/1.253, allocations: 0 / 1.485 GB, free: 11.93 MB / 1.217 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003846/1.257, allocations: 1.913 MB / 1.487 GB, free: 10.01 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/1.257, allocations: 38.62 kB / 1.487 GB, free: 9.965 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.257, allocations: 12 kB / 1.487 GB, free: 9.953 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/1.257, allocations: 20 kB / 1.487 GB, free: 9.934 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.259, allocations: 323.5 kB / 1.487 GB, free: 9.617 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/1.259, allocations: 23.92 kB / 1.487 GB, free: 9.594 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.26, allocations: 163.3 kB / 1.487 GB, free: 9.434 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.261, allocations: 59.98 kB / 1.487 GB, free: 9.375 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0003237/1.261, allocations: 259.8 kB / 1.488 GB, free: 9.113 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004261/1.261, allocations: 226.5 kB / 1.488 GB, free: 8.891 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/1.264, allocations: 1.181 MB / 1.489 GB, free: 7.695 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002301/1.267, allocations: 1.231 MB / 1.49 GB, free: 6.375 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/1.267, allocations: 0 / 1.49 GB, free: 6.375 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/1.267, allocations: 415.3 kB / 1.491 GB, free: 5.949 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/1.268, allocations: 20 kB / 1.491 GB, free: 5.93 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.269, allocations: 73.61 kB / 1.491 GB, free: 5.859 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.269, allocations: 60.86 kB / 1.491 GB, free: 5.801 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003252/1.272, allocations: 1.209 MB / 1.492 GB, free: 4.582 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003582/1.276, allocations: 1.817 MB / 1.494 GB, free: 2.75 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001012/1.277, allocations: 483.7 kB / 1.494 GB, free: 2.277 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002277/1.279, allocations: 1.437 MB / 1.496 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of Backend: time 5.91e-07/1.279, allocations: 4 kB / 1.496 GB, free: 0.8242 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.008179/1.287, allocations: 3.125 MB / 1.499 GB, free: 13.82 MB / 1.232 GB Notification: Performance of SimCode: time 0.009488/1.297, allocations: 5.175 MB / 1.504 GB, free: 8.602 MB / 1.232 GB Notification: Performance of Templates: time 0.08109/1.378, allocations: 50.67 MB / 1.553 GB, free: 6.332 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches