Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_10_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_10_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.008454/0.008454, allocations: 101.8 kB / 15.88 MB, free: 5.863 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.001837/0.001837, allocations: 193 kB / 16.79 MB, free: 5.805 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.444/1.444, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.566/2.566, allocations: 437 MB / 0.7106 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.89 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6077/0.609, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.9197/1.529, allocations: 303 MB / 1.313 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03016/1.559, allocations: 27.67 MB / 1.34 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005273/1.564, allocations: 74.69 kB / 1.34 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009907/1.574, allocations: 4.432 MB / 1.345 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00814/1.582, allocations: 2.729 MB / 1.347 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006651/1.589, allocations: 2.373 MB / 1.35 GB, free: 4.836 MB / 0.9981 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.01254/1.602, allocations: 8.596 MB / 1.358 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002779/1.604, allocations: 1.522 MB / 1.359 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005255/1.61, allocations: 1.925 MB / 1.361 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/1.613, allocations: 1.346 MB / 1.363 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005256/1.614, allocations: 92.25 kB / 1.363 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008211/1.622, allocations: 3.503 MB / 1.366 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/1.623, allocations: 0.654 MB / 1.367 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002075/1.625, allocations: 1.129 MB / 1.368 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006203/1.632, allocations: 3.846 MB / 1.372 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/1.632, allocations: 0 / 1.372 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.432e-06/1.632, allocations: 0 / 1.372 GB, free: 2.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000108/1.632, allocations: 4 kB / 1.372 GB, free: 2.391 MB / 0.9981 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.006076/1.638, allocations: 2.728 MB / 1.374 GB, free: 408 kB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/1.638, allocations: 11.58 kB / 1.374 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/1.643, allocations: 0.7217 MB / 1.375 GB, free: 64 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/1.653, allocations: 5.534 MB / 1.38 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003844/1.654, allocations: 143.2 kB / 1.381 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/1.654, allocations: 112 kB / 1.381 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/1.657, allocations: 1.38 MB / 1.382 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/1.657, allocations: 6.625 kB / 1.382 GB, free: 11.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.657, allocations: 49.62 kB / 1.382 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/1.657, allocations: 37.75 kB / 1.382 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/1.659, allocations: 1.012 MB / 1.383 GB, free: 10.84 MB / 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.00984/1.669, allocations: 7.114 MB / 1.39 GB, free: 4.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/1.67, allocations: 317.4 kB / 1.39 GB, free: 4.496 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/1.67, allocations: 124 kB / 1.39 GB, free: 4.43 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002917/1.671, allocations: 186.5 kB / 1.391 GB, free: 4.234 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.671, allocations: 40.91 kB / 1.391 GB, free: 4.188 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008074/1.672, allocations: 91.19 kB / 1.391 GB, free: 4.121 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 3.277e-06/1.672, allocations: 0 / 1.391 GB, free: 4.121 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001582/1.673, allocations: 0.5525 MB / 1.391 GB, free: 3.828 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/1.673, allocations: 65.88 kB / 1.391 GB, free: 3.754 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003223/1.676, allocations: 2.242 MB / 1.394 GB, free: 2.523 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001096/1.677, allocations: 35.86 kB / 1.394 GB, free: 2.484 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008186/1.677, allocations: 0.9652 MB / 1.395 GB, free: 1.641 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.414e-05/1.678, allocations: 85.58 kB / 1.395 GB, free: 1.574 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003945/1.678, allocations: 269.9 kB / 1.395 GB, free: 1.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.678, allocations: 355.1 kB / 1.395 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008946/1.679, allocations: 461.7 kB / 1.396 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/1.68, allocations: 0.8644 MB / 1.397 GB, free: 52 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00173/1.682, allocations: 1.175 MB / 1.398 GB, free: 15.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/1.682, allocations: 2.844 kB / 1.398 GB, free: 15.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002868/1.685, allocations: 1.485 MB / 1.399 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.685, allocations: 14.59 kB / 1.399 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.685, allocations: 12.22 kB / 1.399 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/1.685, allocations: 23.27 kB / 1.399 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008354/1.686, allocations: 229.2 kB / 1.399 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/1.686, allocations: 32.02 kB / 1.399 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/1.687, allocations: 147.2 kB / 1.4 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/1.688, allocations: 51.8 kB / 1.4 GB, free: 14.37 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001618/1.689, allocations: 0.9367 MB / 1.401 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001079/1.69, allocations: 0.8566 MB / 1.401 GB, free: 13.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/1.692, allocations: 1.162 MB / 1.402 GB, free: 11.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.654e-06/1.692, allocations: 7.938 kB / 1.403 GB, free: 11.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=151) (initialization_lambda0): time 0.002701/1.695, allocations: 1.466 MB / 1.404 GB, free: 10.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.695, allocations: 11.94 kB / 1.404 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.695, allocations: 12 kB / 1.404 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.695, allocations: 20 kB / 1.404 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/1.695, allocations: 227.3 kB / 1.404 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/1.695, allocations: 29.89 kB / 1.404 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.697, allocations: 124.2 kB / 1.404 GB, free: 9.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.547e-05/1.697, allocations: 51.98 kB / 1.404 GB, free: 9.934 MB / 1.029 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.0003589/1.698, allocations: 246.3 kB / 1.405 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/1.698, allocations: 197.4 kB / 1.405 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005323/1.699, allocations: 171.7 kB / 1.405 GB, free: 9.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/1.699, allocations: 8 kB / 1.405 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.699, allocations: 0 / 1.405 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.699, allocations: 3.938 kB / 1.405 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/1.702, allocations: 1.945 MB / 1.407 GB, free: 7.297 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/1.702, allocations: 11.12 kB / 1.407 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/1.703, allocations: 51.23 kB / 1.407 GB, free: 7.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/1.703, allocations: 8 kB / 1.407 GB, free: 7.234 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.907e-05/1.703, allocations: 8.25 kB / 1.407 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/1.703, allocations: 12 kB / 1.407 GB, free: 7.215 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.703, allocations: 6.906 kB / 1.407 GB, free: 7.211 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/1.704, allocations: 0.5983 MB / 1.408 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/1.704, allocations: 326.5 kB / 1.408 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/1.705, allocations: 8 kB / 1.408 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/1.706, allocations: 59.94 kB / 1.408 GB, free: 6.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/1.706, allocations: 30.92 kB / 1.408 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/1.706, allocations: 11.98 kB / 1.408 GB, free: 6.098 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002621/1.708, allocations: 1.531 MB / 1.409 GB, free: 4.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.71e-07/1.708, allocations: 0 / 1.409 GB, free: 4.555 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002554/1.711, allocations: 0.8152 MB / 1.41 GB, free: 3.738 MB / 1.029 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.000953/1.712, allocations: 442.1 kB / 1.411 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002986/1.715, allocations: 1.445 MB / 1.412 GB, free: 1.965 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/1.715, allocations: 5.625 kB / 1.412 GB, free: 1.961 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003729/1.715, allocations: 134.7 kB / 1.412 GB, free: 1.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004662/1.72, allocations: 0.9933 MB / 1.413 GB, free: 0.8633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/1.726, allocations: 3.728 MB / 1.417 GB, free: 13.05 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.727, allocations: 1.493 MB / 1.418 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004126/1.727, allocations: 127.4 kB / 1.418 GB, free: 11.4 MB / 1.045 GB Notification: Performance of SimCode: time 7.02e-07/1.727, allocations: 0 / 1.418 GB, free: 11.4 MB / 1.045 GB Notification: Performance of Templates: time 0.05103/1.779, allocations: 33.08 MB / 1.451 GB, free: 10.55 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches