Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001988/0.001988, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.495/1.495, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.722/2.722, allocations: 469.4 MB / 0.7428 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 64.12 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 159.1 MB / 1.221 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3564/1.429, allocations: 304.9 MB / 1.519 GB, free: 388 kB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.04197/1.471, allocations: 27.46 MB / 1.545 GB, free: 4.844 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004883/1.476, allocations: 79.62 kB / 1.545 GB, free: 4.766 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01062/1.487, allocations: 2.263 MB / 1.548 GB, free: 2.492 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01233/1.499, allocations: 3.174 MB / 1.551 GB, free: 15.31 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.00882/1.508, allocations: 2.785 MB / 1.554 GB, free: 12.52 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01299/1.521, allocations: 7.268 MB / 1.561 GB, free: 5.234 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00393/1.525, allocations: 1.818 MB / 1.562 GB, free: 3.371 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007554/1.533, allocations: 2.309 MB / 1.565 GB, free: 1.055 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 1.123/2.655, allocations: 1.341 MB / 1.566 GB, free: 35.46 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.002032/2.657, allocations: 214.9 kB / 1.566 GB, free: 35.46 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01254/2.67, allocations: 3.228 MB / 1.569 GB, free: 35.46 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.002077/2.672, allocations: 0.7556 MB / 1.57 GB, free: 35.46 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.003345/2.675, allocations: 1.263 MB / 1.571 GB, free: 35.46 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.01397/2.689, allocations: 4.919 MB / 1.576 GB, free: 35.36 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/2.689, allocations: 0.7031 kB / 1.576 GB, free: 35.36 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.837e-06/2.689, allocations: 0.5 kB / 1.576 GB, free: 35.36 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.0001532/2.689, allocations: 1.688 kB / 1.576 GB, free: 35.36 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.01153/2.701, allocations: 2.739 MB / 1.579 GB, free: 34.03 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.468e-05/2.701, allocations: 10.23 kB / 1.579 GB, free: 34.03 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006012/2.707, allocations: 0.7175 MB / 1.579 GB, free: 33.91 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/2.722, allocations: 5.635 MB / 1.585 GB, free: 33.38 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/2.722, allocations: 88.12 kB / 1.585 GB, free: 33.37 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007565/2.723, allocations: 113.5 kB / 1.585 GB, free: 33.37 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005125/2.728, allocations: 1.4 MB / 1.587 GB, free: 33 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/2.728, allocations: 7.031 kB / 1.587 GB, free: 33 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/2.729, allocations: 51.31 kB / 1.587 GB, free: 33 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.817e-05/2.729, allocations: 40.25 kB / 1.587 GB, free: 33 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002655/2.731, allocations: 0.9732 MB / 1.588 GB, free: 33 MB / 1.279 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.01091/2.742, allocations: 7.662 MB / 1.595 GB, free: 28.49 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/2.743, allocations: 367.5 kB / 1.595 GB, free: 28.37 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/2.744, allocations: 114.6 kB / 1.596 GB, free: 28.36 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/2.744, allocations: 190.9 kB / 1.596 GB, free: 28.17 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/2.744, allocations: 42.81 kB / 1.596 GB, free: 28.13 MB / 1.279 GB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/2.744, allocations: 3.844 kB / 1.596 GB, free: 28.13 MB / 1.279 GB Notification: Performance of matching and sorting (n=18): time 0.00167/2.746, allocations: 0.5262 MB / 1.596 GB, free: 27.99 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/2.746, allocations: 54.12 kB / 1.596 GB, free: 27.93 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003282/2.749, allocations: 2.275 MB / 1.599 GB, free: 27.68 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/2.749, allocations: 34.77 kB / 1.599 GB, free: 27.64 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007781/2.75, allocations: 0.9725 MB / 1.6 GB, free: 27.33 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/2.75, allocations: 81.17 kB / 1.6 GB, free: 27.29 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/2.75, allocations: 285.4 kB / 1.6 GB, free: 27.25 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 9.11e-05/2.75, allocations: 354.7 kB / 1.6 GB, free: 26.95 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008706/2.751, allocations: 458.3 kB / 1.601 GB, free: 26.94 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/2.752, allocations: 0.8976 MB / 1.602 GB, free: 26.39 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/2.754, allocations: 1.205 MB / 1.603 GB, free: 25.88 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/2.754, allocations: 7.531 kB / 1.603 GB, free: 25.88 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002764/2.757, allocations: 1.514 MB / 1.604 GB, free: 25.73 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/2.757, allocations: 13.69 kB / 1.604 GB, free: 25.73 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/2.757, allocations: 14.78 kB / 1.604 GB, free: 25.73 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.176e-05/2.757, allocations: 22.66 kB / 1.604 GB, free: 25.73 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/2.758, allocations: 243.1 kB / 1.604 GB, free: 25.73 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.134e-05/2.758, allocations: 29.52 kB / 1.604 GB, free: 25.73 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/2.76, allocations: 211.1 kB / 1.605 GB, free: 25.64 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/2.76, allocations: 56.14 kB / 1.605 GB, free: 25.64 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001821/2.761, allocations: 0.934 MB / 1.606 GB, free: 25.56 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001016/2.762, allocations: 0.8879 MB / 1.607 GB, free: 25.01 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001527/2.764, allocations: 1.195 MB / 1.608 GB, free: 24.49 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.874e-06/2.764, allocations: 2.562 kB / 1.608 GB, free: 24.49 MB / 1.279 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002804/2.767, allocations: 1.483 MB / 1.609 GB, free: 24.34 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/2.767, allocations: 10.69 kB / 1.609 GB, free: 24.34 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/2.767, allocations: 13.53 kB / 1.609 GB, free: 24.34 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/2.767, allocations: 21.34 kB / 1.609 GB, free: 24.34 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007952/2.768, allocations: 242.3 kB / 1.609 GB, free: 24.34 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.414e-05/2.768, allocations: 28.67 kB / 1.609 GB, free: 24.34 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/2.769, allocations: 146.9 kB / 1.61 GB, free: 24.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/2.77, allocations: 57.88 kB / 1.61 GB, free: 24.3 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * 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.0003217/2.77, allocations: 252 kB / 1.61 GB, free: 24.11 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002412/2.77, allocations: 195.5 kB / 1.61 GB, free: 24 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005203/2.771, allocations: 167.1 kB / 1.61 GB, free: 23.98 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/2.771, allocations: 1.062 kB / 1.61 GB, free: 23.98 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/2.771, allocations: 0 / 1.61 GB, free: 23.98 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/2.771, allocations: 316.7 kB / 1.611 GB, free: 23.78 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/2.771, allocations: 6.984 kB / 1.611 GB, free: 23.78 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007871/2.772, allocations: 40.22 kB / 1.611 GB, free: 23.78 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/2.772, allocations: 29.5 kB / 1.611 GB, free: 23.77 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008593/2.773, allocations: 344.6 kB / 1.611 GB, free: 23.67 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007917/2.774, allocations: 0.5943 MB / 1.612 GB, free: 23.35 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002774/2.774, allocations: 110.4 kB / 1.612 GB, free: 23.35 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002713/2.777, allocations: 1.548 MB / 1.613 GB, free: 23.2 MB / 1.279 GB Notification: Performance of Backend: time 5.81e-07/2.777, allocations: 0 / 1.613 GB, free: 23.2 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006367/2.783, allocations: 2.12 MB / 1.615 GB, free: 23.04 MB / 1.279 GB Notification: Performance of SimCode: time 0.0092/2.793, allocations: 4.4 MB / 1.619 GB, free: 21.25 MB / 1.279 GB Notification: Performance of Templates: time 0.07954/2.872, allocations: 45.32 MB / 1.664 GB, free: 10.98 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches