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.0008482/0.0008483, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.00725/0.00725, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.806/2.806, allocations: 462.6 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005406/0.0005406, allocations: 12.39 kB / 0.9028 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4357, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.204/1.64, allocations: 298.9 MB / 1.351 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03523/1.676, allocations: 27.32 MB / 1.377 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004277/1.68, allocations: 65.91 kB / 1.377 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01116/1.691, allocations: 4.426 MB / 1.382 GB, free: 0.8828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/1.702, allocations: 2.731 MB / 1.384 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.009427/1.711, allocations: 2.382 MB / 1.387 GB, free: 15.74 MB / 1.014 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.1666666666666667}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01712/1.728, allocations: 8.596 MB / 1.395 GB, free: 13.4 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004679/1.733, allocations: 1.452 MB / 1.396 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006956/1.74, allocations: 1.867 MB / 1.398 GB, free: 11.82 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004445/1.744, allocations: 1.25 MB / 1.399 GB, free: 11.28 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007044/1.745, allocations: 69.16 kB / 1.4 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00888/1.754, allocations: 3.475 MB / 1.403 GB, free: 9.621 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/1.755, allocations: 0.604 MB / 1.404 GB, free: 9.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002553/1.758, allocations: 1.091 MB / 1.405 GB, free: 8.531 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009316/1.767, allocations: 4.857 MB / 1.409 GB, free: 5.461 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.767, allocations: 2.5 kB / 1.409 GB, free: 5.461 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.053e-06/1.767, allocations: 0 / 1.409 GB, free: 5.461 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.282e-05/1.767, allocations: 0 / 1.409 GB, free: 5.461 MB / 1.014 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.004687/1.772, allocations: 2.288 MB / 1.412 GB, free: 3.727 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.772, allocations: 9.781 kB / 1.412 GB, free: 3.727 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004365/1.776, allocations: 0.7545 MB / 1.412 GB, free: 3.395 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/1.787, allocations: 5.533 MB / 1.418 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000409/1.787, allocations: 152.8 kB / 1.418 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/1.787, allocations: 111.1 kB / 1.418 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/1.79, allocations: 1.386 MB / 1.419 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.79, allocations: 7.312 kB / 1.419 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/1.79, allocations: 50.14 kB / 1.419 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/1.791, allocations: 40.53 kB / 1.419 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/1.793, allocations: 1.024 MB / 1.42 GB, free: 14.08 MB / 1.029 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.01077/1.804, allocations: 7.126 MB / 1.427 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009043/1.805, allocations: 312.1 kB / 1.428 GB, free: 7.668 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/1.805, allocations: 127.7 kB / 1.428 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/1.805, allocations: 189.9 kB / 1.428 GB, free: 7.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/1.805, allocations: 42.5 kB / 1.428 GB, free: 7.289 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008377/1.806, allocations: 82.91 kB / 1.428 GB, free: 7.207 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.334e-06/1.806, allocations: 0 / 1.428 GB, free: 7.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001595/1.808, allocations: 0.5588 MB / 1.429 GB, free: 6.641 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/1.808, allocations: 59.41 kB / 1.429 GB, free: 6.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003176/1.811, allocations: 2.251 MB / 1.431 GB, free: 4.297 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/1.811, allocations: 33.7 kB / 1.431 GB, free: 4.258 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009038/1.812, allocations: 0.9653 MB / 1.432 GB, free: 3.293 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/1.812, allocations: 83.08 kB / 1.432 GB, free: 3.211 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/1.812, allocations: 121.6 kB / 1.432 GB, free: 3.086 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.812, allocations: 353.9 kB / 1.432 GB, free: 2.734 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009297/1.813, allocations: 462.1 kB / 1.433 GB, free: 2.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/1.815, allocations: 0.8673 MB / 1.434 GB, free: 1.219 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/1.817, allocations: 1.181 MB / 1.435 GB, free: 15.86 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/1.817, allocations: 4 kB / 1.435 GB, free: 15.86 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003501/1.82, allocations: 1.494 MB / 1.436 GB, free: 14.36 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.000529/1.821, allocations: 485.1 kB / 1.437 GB, free: 13.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/1.821, allocations: 12 kB / 1.437 GB, free: 13.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.352e-05/1.821, allocations: 20.06 kB / 1.437 GB, free: 13.67 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008688/1.822, allocations: 239.6 kB / 1.437 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.13e-05/1.822, allocations: 31.86 kB / 1.437 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/1.824, allocations: 154 kB / 1.437 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.843e-05/1.824, allocations: 55.98 kB / 1.437 GB, free: 13.2 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.824, allocations: 6.344 kB / 1.437 GB, free: 13.2 MB / 1.045 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002324/1.826, allocations: 1.268 MB / 1.439 GB, free: 11.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.826, allocations: 12 kB / 1.439 GB, free: 11.92 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/1.826, allocations: 28.03 kB / 1.439 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/1.827, allocations: 231.6 kB / 1.439 GB, free: 11.67 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/1.827, allocations: 27.92 kB / 1.439 GB, free: 11.64 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/1.829, allocations: 125.5 kB / 1.439 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/1.829, allocations: 47.98 kB / 1.439 GB, free: 11.47 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * 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 (118): * Single equations (assignments): 116 * 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.001336/1.83, allocations: 0.6568 MB / 1.44 GB, free: 10.8 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/1.83, allocations: 193.5 kB / 1.44 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003473/1.831, allocations: 171.6 kB / 1.44 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-06/1.831, allocations: 4 kB / 1.44 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/1.831, allocations: 0 / 1.44 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/1.831, allocations: 0 / 1.44 GB, free: 10.44 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/1.834, allocations: 1.948 MB / 1.442 GB, free: 8.375 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.834, allocations: 8.031 kB / 1.442 GB, free: 8.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/1.835, allocations: 51.84 kB / 1.442 GB, free: 8.316 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/1.835, allocations: 4 kB / 1.442 GB, free: 8.312 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/1.835, allocations: 19.92 kB / 1.442 GB, free: 8.293 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.696e-06/1.835, allocations: 7.938 kB / 1.442 GB, free: 8.285 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.835, allocations: 8 kB / 1.442 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/1.836, allocations: 0.5961 MB / 1.443 GB, free: 7.605 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005476/1.836, allocations: 326.4 kB / 1.443 GB, free: 7.266 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002028/1.837, allocations: 12 kB / 1.443 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/1.837, allocations: 63.94 kB / 1.443 GB, free: 7.191 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/1.838, allocations: 27.86 kB / 1.443 GB, free: 7.164 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/1.838, allocations: 12 kB / 1.443 GB, free: 7.152 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002484/1.84, allocations: 1.535 MB / 1.444 GB, free: 5.605 MB / 1.045 GB Notification: Performance of sort global known variables: time 4.11e-07/1.84, allocations: 0 / 1.444 GB, free: 5.605 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002602/1.843, allocations: 0.8191 MB / 1.445 GB, free: 4.785 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.0009616/1.844, allocations: 451.3 kB / 1.446 GB, free: 4.355 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003123/1.847, allocations: 1.444 MB / 1.447 GB, free: 2.914 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.847, allocations: 0 / 1.447 GB, free: 2.914 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003582/1.847, allocations: 140.4 kB / 1.447 GB, free: 2.777 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005824/1.853, allocations: 1.004 MB / 1.448 GB, free: 1.789 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005916/1.859, allocations: 3.626 MB / 1.452 GB, free: 14.07 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001225/1.86, allocations: 1.481 MB / 1.453 GB, free: 12.55 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002168/1.862, allocations: 444.6 kB / 1.454 GB, free: 12.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002899/1.863, allocations: 127.4 kB / 1.454 GB, free: 11.99 MB / 1.061 GB Notification: Performance of SimCode: time 1.353e-06/1.863, allocations: 0 / 1.454 GB, free: 11.99 MB / 1.061 GB Notification: Performance of Templates: time 0.0684/1.931, allocations: 34.98 MB / 1.488 GB, free: 9.395 MB / 1.092 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/jenkins/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