Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_9_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_9_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.01141/0.01141, allocations: 101 kB / 15.73 MB, free: 6.043 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.00176/0.00176, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.586/2.586, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 62.84 kB / 0.9508 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3798, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.275/1.655, allocations: 304.5 MB / 1.385 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04202/1.697, allocations: 25.62 MB / 1.41 GB, free: 9.793 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00465/1.702, allocations: 77.88 kB / 1.41 GB, free: 9.793 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004874/1.706, allocations: 1.406 MB / 1.412 GB, free: 9.281 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/1.718, allocations: 2.895 MB / 1.415 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01069/1.729, allocations: 2.631 MB / 1.417 GB, free: 5.555 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01078/1.74, allocations: 4.348 MB / 1.421 GB, free: 3 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004672/1.745, allocations: 1.774 MB / 1.423 GB, free: 1.867 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006693/1.751, allocations: 2.251 MB / 1.425 GB, free: 468 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004039/1.755, allocations: 1.279 MB / 1.427 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009411/1.756, allocations: 203.2 kB / 1.427 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007861/1.764, allocations: 3.03 MB / 1.43 GB, free: 14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/1.765, allocations: 0.6226 MB / 1.43 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002625/1.768, allocations: 1.067 MB / 1.431 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008864/1.777, allocations: 4.215 MB / 1.435 GB, free: 9.926 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.777, allocations: 0 / 1.435 GB, free: 9.926 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.903e-06/1.777, allocations: 0 / 1.435 GB, free: 9.926 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000112/1.777, allocations: 0 / 1.435 GB, free: 9.926 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.005944/1.783, allocations: 2.308 MB / 1.438 GB, free: 8.168 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.783, allocations: 11.88 kB / 1.438 GB, free: 8.164 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004655/1.788, allocations: 0.6697 MB / 1.438 GB, free: 7.867 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004643/1.792, allocations: 2.034 MB / 1.44 GB, free: 6.289 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.864e-05/1.792, allocations: 85.31 kB / 1.44 GB, free: 6.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/1.793, allocations: 115.3 kB / 1.441 GB, free: 6.211 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/1.796, allocations: 1.436 MB / 1.442 GB, free: 4.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/1.796, allocations: 11.94 kB / 1.442 GB, free: 4.773 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/1.796, allocations: 48 kB / 1.442 GB, free: 4.727 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/1.796, allocations: 41.98 kB / 1.442 GB, free: 4.688 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/1.8, allocations: 1.112 MB / 1.443 GB, free: 3.574 MB / 1.061 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.0109/1.811, allocations: 7.496 MB / 1.45 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/1.813, allocations: 483.6 kB / 1.451 GB, free: 11.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005538/1.813, allocations: 152.7 kB / 1.451 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/1.814, allocations: 182.2 kB / 1.451 GB, free: 10.81 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/1.814, allocations: 46.44 kB / 1.451 GB, free: 10.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.936e-06/1.814, allocations: 0 / 1.451 GB, free: 10.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.00247/1.816, allocations: 0.5796 MB / 1.452 GB, free: 10.17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/1.816, allocations: 55.41 kB / 1.452 GB, free: 10.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/1.82, allocations: 1.748 MB / 1.454 GB, free: 8.312 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/1.82, allocations: 33.7 kB / 1.454 GB, free: 8.273 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008796/1.821, allocations: 0.8483 MB / 1.454 GB, free: 7.418 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/1.821, allocations: 75.03 kB / 1.455 GB, free: 7.344 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003571/1.821, allocations: 182.4 kB / 1.455 GB, free: 7.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002073/1.822, allocations: 333.9 kB / 1.455 GB, free: 6.828 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/1.823, allocations: 316.7 kB / 1.455 GB, free: 6.516 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/1.824, allocations: 0.7115 MB / 1.456 GB, free: 5.598 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/1.826, allocations: 0.9297 MB / 1.457 GB, free: 4.484 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.826, allocations: 4 kB / 1.457 GB, free: 4.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002954/1.829, allocations: 1.097 MB / 1.458 GB, free: 3.375 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/1.829, allocations: 12 kB / 1.458 GB, free: 3.363 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.829, allocations: 12 kB / 1.458 GB, free: 3.352 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.585e-05/1.829, allocations: 24.73 kB / 1.458 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009342/1.83, allocations: 211.6 kB / 1.458 GB, free: 3.121 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.371e-05/1.83, allocations: 27.92 kB / 1.458 GB, free: 3.094 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/1.832, allocations: 203.2 kB / 1.458 GB, free: 2.895 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/1.832, allocations: 60.03 kB / 1.459 GB, free: 2.836 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001453/1.834, allocations: 0.6478 MB / 1.459 GB, free: 2.184 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001107/1.835, allocations: 0.6803 MB / 1.46 GB, free: 1.305 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001543/1.836, allocations: 0.8699 MB / 1.461 GB, free: 256 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.49e-05/1.836, allocations: 4 kB / 1.461 GB, free: 252 kB / 1.076 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002562/1.839, allocations: 1.031 MB / 1.462 GB, free: 15.21 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.839, allocations: 16 kB / 1.462 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.839, allocations: 12 kB / 1.462 GB, free: 15.18 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.955e-05/1.839, allocations: 19.98 kB / 1.462 GB, free: 15.16 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/1.84, allocations: 195.7 kB / 1.462 GB, free: 14.97 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.84e-05/1.84, allocations: 31.86 kB / 1.462 GB, free: 14.94 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/1.842, allocations: 144 kB / 1.462 GB, free: 14.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.472e-05/1.842, allocations: 44 kB / 1.462 GB, free: 14.75 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (88): * Single equations (assignments): 87 * Array equations: 1 * 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.0002974/1.842, allocations: 235.9 kB / 1.462 GB, free: 14.52 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/1.842, allocations: 158 kB / 1.462 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/1.844, allocations: 481.1 kB / 1.463 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.844, allocations: 0 / 1.463 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.844, allocations: 4 kB / 1.463 GB, free: 13.88 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.844, allocations: 3.984 kB / 1.463 GB, free: 13.87 MB / 1.092 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 postOpt removeSimpleEquations (simulation): time 0.003486/1.847, allocations: 1.608 MB / 1.465 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.847, allocations: 11.97 kB / 1.465 GB, free: 12.15 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/1.848, allocations: 59.88 kB / 1.465 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.189e-06/1.848, allocations: 4 kB / 1.465 GB, free: 12.09 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/1.848, allocations: 8 kB / 1.465 GB, free: 12.08 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/1.848, allocations: 4 kB / 1.465 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.848, allocations: 7.938 kB / 1.465 GB, free: 12.07 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/1.849, allocations: 0.6085 MB / 1.465 GB, free: 11.41 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006445/1.85, allocations: 295 kB / 1.465 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003371/1.85, allocations: 12 kB / 1.466 GB, free: 11.09 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/1.851, allocations: 63.92 kB / 1.466 GB, free: 11.03 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.882e-05/1.851, allocations: 15.92 kB / 1.466 GB, free: 11.02 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/1.851, allocations: 23.92 kB / 1.466 GB, free: 10.99 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002221/1.854, allocations: 1.211 MB / 1.467 GB, free: 9.758 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.854, allocations: 0 / 1.467 GB, free: 9.758 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002433/1.856, allocations: 0.6669 MB / 1.467 GB, free: 9.09 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.00081/1.857, allocations: 295.8 kB / 1.468 GB, free: 8.793 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003102/1.86, allocations: 1.02 MB / 1.469 GB, free: 7.777 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/1.86, allocations: 0 / 1.469 GB, free: 7.777 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005384/1.861, allocations: 156.9 kB / 1.469 GB, free: 7.625 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.865, allocations: 0.8577 MB / 1.47 GB, free: 6.781 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004794/1.869, allocations: 2.387 MB / 1.472 GB, free: 4.336 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001423/1.871, allocations: 1.283 MB / 1.473 GB, free: 3.023 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001835/1.873, allocations: 366 kB / 1.474 GB, free: 2.66 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/1.873, allocations: 115.4 kB / 1.474 GB, free: 2.547 MB / 1.092 GB Notification: Performance of SimCode: time 1.132e-06/1.873, allocations: 4 kB / 1.474 GB, free: 2.543 MB / 1.092 GB Notification: Performance of Templates: time 0.05582/1.929, allocations: 29.6 MB / 1.503 GB, free: 5.273 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches