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.001182/0.001182, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001739/0.001738, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.396/1.396, allocations: 222.9 MB / 239.9 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.777/2.777, allocations: 461.9 MB / 0.7343 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 62.72 kB / 0.8986 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3454, allocations: 157.4 MB / 1.052 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.097/1.442, allocations: 301.4 MB / 1.347 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03569/1.478, allocations: 27.23 MB / 1.373 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00647/1.485, allocations: 75.47 kB / 1.373 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01126/1.496, allocations: 4.638 MB / 1.378 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009941/1.506, allocations: 2.741 MB / 1.38 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007214/1.513, allocations: 2.424 MB / 1.383 GB, free: 2.297 MB / 0.9981 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01046/1.524, allocations: 7.289 MB / 1.39 GB, free: 488 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003133/1.527, allocations: 1.804 MB / 1.392 GB, free: 15.65 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005838/1.533, allocations: 2.24 MB / 1.394 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00307/1.536, allocations: 1.405 MB / 1.395 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004253/1.536, allocations: 211.8 kB / 1.395 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006796/1.543, allocations: 3.324 MB / 1.399 GB, free: 12.69 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001092/1.544, allocations: 0.7641 MB / 1.399 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002123/1.546, allocations: 1.26 MB / 1.401 GB, free: 11.29 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009789/1.556, allocations: 5.041 MB / 1.406 GB, free: 8.059 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/1.556, allocations: 0 / 1.406 GB, free: 8.059 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.544e-06/1.556, allocations: 0 / 1.406 GB, free: 8.059 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.733e-05/1.556, allocations: 0 / 1.406 GB, free: 8.059 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.005848/1.562, allocations: 2.718 MB / 1.408 GB, free: 6.016 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.146e-05/1.562, allocations: 16.25 kB / 1.408 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00496/1.567, allocations: 0.7197 MB / 1.409 GB, free: 5.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/1.577, allocations: 5.541 MB / 1.414 GB, free: 1.992 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/1.578, allocations: 137.6 kB / 1.415 GB, free: 1.934 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/1.578, allocations: 113.6 kB / 1.415 GB, free: 1.898 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/1.581, allocations: 1.391 MB / 1.416 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/1.581, allocations: 0 / 1.416 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.581, allocations: 49.59 kB / 1.416 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.056e-05/1.581, allocations: 43.75 kB / 1.416 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/1.583, allocations: 1.007 MB / 1.417 GB, free: 372 kB / 1.014 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.01018/1.594, allocations: 7.114 MB / 1.424 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008846/1.595, allocations: 314.7 kB / 1.424 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/1.595, allocations: 126.2 kB / 1.424 GB, free: 8.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/1.595, allocations: 186.2 kB / 1.425 GB, free: 8.301 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.357e-05/1.595, allocations: 46.48 kB / 1.425 GB, free: 8.246 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009554/1.596, allocations: 86.81 kB / 1.425 GB, free: 8.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.685e-06/1.596, allocations: 0 / 1.425 GB, free: 8.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.00161/1.598, allocations: 0.5596 MB / 1.425 GB, free: 7.594 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/1.598, allocations: 55.41 kB / 1.425 GB, free: 7.527 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003266/1.601, allocations: 2.247 MB / 1.428 GB, free: 5.258 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.817e-05/1.601, allocations: 29.7 kB / 1.428 GB, free: 5.223 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000936/1.602, allocations: 0.9726 MB / 1.429 GB, free: 4.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/1.602, allocations: 81.89 kB / 1.429 GB, free: 4.172 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/1.603, allocations: 274.2 kB / 1.429 GB, free: 3.898 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/1.603, allocations: 357.9 kB / 1.429 GB, free: 3.543 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009425/1.604, allocations: 460.9 kB / 1.43 GB, free: 3.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/1.605, allocations: 0.8673 MB / 1.43 GB, free: 2.027 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/1.607, allocations: 1.181 MB / 1.432 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/1.607, allocations: 4 kB / 1.432 GB, free: 0.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002877/1.61, allocations: 1.49 MB / 1.433 GB, free: 15.17 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/1.61, allocations: 13.41 kB / 1.433 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/1.61, allocations: 12 kB / 1.433 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.61, allocations: 23.94 kB / 1.433 GB, free: 15.12 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009308/1.611, allocations: 240.3 kB / 1.433 GB, free: 14.89 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/1.611, allocations: 23.88 kB / 1.433 GB, free: 14.86 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/1.612, allocations: 148.8 kB / 1.434 GB, free: 14.72 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/1.613, allocations: 48.77 kB / 1.434 GB, free: 14.67 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001627/1.614, allocations: 0.9395 MB / 1.434 GB, free: 13.73 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001294/1.616, allocations: 0.8478 MB / 1.435 GB, free: 12.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001667/1.617, allocations: 1.177 MB / 1.436 GB, free: 11.33 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.673e-06/1.617, allocations: 4 kB / 1.436 GB, free: 11.33 MB / 1.045 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002736/1.62, allocations: 1.466 MB / 1.438 GB, free: 9.852 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.62, allocations: 15.94 kB / 1.438 GB, free: 9.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/1.62, allocations: 16.06 kB / 1.438 GB, free: 9.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/1.62, allocations: 16 kB / 1.438 GB, free: 9.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008781/1.621, allocations: 235.6 kB / 1.438 GB, free: 9.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/1.621, allocations: 31.91 kB / 1.438 GB, free: 9.543 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/1.622, allocations: 120.3 kB / 1.438 GB, free: 9.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/1.622, allocations: 51.98 kB / 1.438 GB, free: 9.375 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.0002966/1.623, allocations: 243.1 kB / 1.439 GB, free: 9.133 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/1.623, allocations: 197.5 kB / 1.439 GB, free: 8.938 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/1.624, allocations: 441.1 kB / 1.439 GB, free: 8.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.624, allocations: 4 kB / 1.439 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.624, allocations: 0 / 1.439 GB, free: 8.496 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/1.624, allocations: 8 kB / 1.439 GB, free: 8.488 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003184/1.628, allocations: 1.791 MB / 1.441 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/1.628, allocations: 12 kB / 1.441 GB, free: 6.578 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/1.628, allocations: 59.88 kB / 1.441 GB, free: 6.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/1.628, allocations: 4 kB / 1.441 GB, free: 6.516 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/1.628, allocations: 8 kB / 1.441 GB, free: 6.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/1.628, allocations: 11.92 kB / 1.441 GB, free: 6.496 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.628, allocations: 4 kB / 1.441 GB, free: 6.492 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/1.629, allocations: 0.6647 MB / 1.442 GB, free: 5.758 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005399/1.63, allocations: 326.3 kB / 1.442 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/1.63, allocations: 19.98 kB / 1.442 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009269/1.631, allocations: 59.94 kB / 1.442 GB, free: 5.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/1.631, allocations: 19.92 kB / 1.442 GB, free: 5.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/1.631, allocations: 15.98 kB / 1.442 GB, free: 5.305 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002277/1.633, allocations: 1.543 MB / 1.444 GB, free: 3.75 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.41e-07/1.633, allocations: 0 / 1.444 GB, free: 3.75 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002224/1.636, allocations: 0.8113 MB / 1.444 GB, free: 2.938 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.0008677/1.636, allocations: 437.4 kB / 1.445 GB, free: 2.516 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0029/1.639, allocations: 1.452 MB / 1.446 GB, free: 1.07 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.639, allocations: 8.062 kB / 1.446 GB, free: 1.062 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003794/1.64, allocations: 132.8 kB / 1.446 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004139/1.644, allocations: 1.065 MB / 1.447 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006519/1.65, allocations: 3.591 MB / 1.451 GB, free: 12.23 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.652, allocations: 1.485 MB / 1.452 GB, free: 10.71 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002528/1.654, allocations: 452.6 kB / 1.453 GB, free: 10.26 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/1.655, allocations: 127.4 kB / 1.453 GB, free: 10.14 MB / 1.061 GB Notification: Performance of SimCode: time 4.578e-06/1.655, allocations: 0 / 1.453 GB, free: 10.14 MB / 1.061 GB Notification: Performance of Templates: time 0.06397/1.719, allocations: 35.6 MB / 1.488 GB, free: 6.992 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