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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0009906/0.0009907, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008091/0.008091, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.719/2.719, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 8 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9062, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.27/2.176, allocations: 298.9 MB / 1.315 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03857/2.215, allocations: 27.32 MB / 1.342 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004838/2.22, allocations: 66.19 kB / 1.342 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01121/2.231, allocations: 4.421 MB / 1.346 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/2.242, allocations: 2.735 MB / 1.349 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.008779/2.251, allocations: 2.373 MB / 1.351 GB, free: 0.6328 MB / 0.9825 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.01492/2.265, allocations: 8.618 MB / 1.359 GB, free: 0 / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004036/2.27, allocations: 1.447 MB / 1.361 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006185/2.276, allocations: 1.858 MB / 1.363 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004163/2.28, allocations: 1.257 MB / 1.364 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008751/2.281, allocations: 68.38 kB / 1.364 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009053/2.29, allocations: 3.474 MB / 1.367 GB, free: 13.99 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001549/2.292, allocations: 0.6063 MB / 1.368 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003292/2.295, allocations: 1.099 MB / 1.369 GB, free: 13 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01156/2.306, allocations: 4.852 MB / 1.374 GB, free: 10 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/2.307, allocations: 0 / 1.374 GB, free: 10 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.757e-06/2.307, allocations: 0 / 1.374 GB, free: 10 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001691/2.307, allocations: 3.938 kB / 1.374 GB, free: 10 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.007073/2.314, allocations: 2.291 MB / 1.376 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/2.314, allocations: 13.39 kB / 1.376 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005085/2.319, allocations: 0.759 MB / 1.377 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01195/2.331, allocations: 5.53 MB / 1.382 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004593/2.331, allocations: 159 kB / 1.382 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000375/2.332, allocations: 112.7 kB / 1.382 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/2.335, allocations: 1.383 MB / 1.384 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.09e-05/2.336, allocations: 6.609 kB / 1.384 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/2.336, allocations: 45.03 kB / 1.384 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.61e-05/2.336, allocations: 47.19 kB / 1.384 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002832/2.339, allocations: 1.016 MB / 1.385 GB, free: 2.711 MB / 0.9981 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.01209/2.351, allocations: 7.119 MB / 1.392 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008838/2.352, allocations: 322.3 kB / 1.392 GB, free: 12.37 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/2.352, allocations: 121.9 kB / 1.392 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003067/2.352, allocations: 189.5 kB / 1.392 GB, free: 12.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/2.352, allocations: 33.94 kB / 1.392 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008844/2.353, allocations: 84.61 kB / 1.392 GB, free: 12.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 2.415e-06/2.353, allocations: 0 / 1.392 GB, free: 12.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001597/2.355, allocations: 0.5666 MB / 1.393 GB, free: 11.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/2.355, allocations: 51.41 kB / 1.393 GB, free: 11.64 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/2.359, allocations: 2.252 MB / 1.395 GB, free: 10.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.349e-05/2.359, allocations: 33.05 kB / 1.395 GB, free: 10.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008907/2.36, allocations: 0.977 MB / 1.396 GB, free: 9.52 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.592e-05/2.36, allocations: 72.34 kB / 1.396 GB, free: 9.461 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/2.36, allocations: 131.4 kB / 1.396 GB, free: 9.379 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001681/2.36, allocations: 350.4 kB / 1.397 GB, free: 9.043 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009234/2.361, allocations: 458.6 kB / 1.397 GB, free: 8.816 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/2.362, allocations: 0.8747 MB / 1.398 GB, free: 8.023 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/2.364, allocations: 1.179 MB / 1.399 GB, free: 6.789 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/2.364, allocations: 4 kB / 1.399 GB, free: 6.785 MB / 1.014 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003062/2.367, allocations: 1.494 MB / 1.401 GB, free: 5.355 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003596/2.367, allocations: 484 kB / 1.401 GB, free: 4.711 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/2.367, allocations: 12 kB / 1.401 GB, free: 4.699 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/2.367, allocations: 23.98 kB / 1.401 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/2.368, allocations: 242.1 kB / 1.401 GB, free: 4.457 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/2.368, allocations: 25.89 kB / 1.401 GB, free: 4.438 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/2.37, allocations: 157.4 kB / 1.402 GB, free: 4.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/2.37, allocations: 51.98 kB / 1.402 GB, free: 4.234 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/2.37, allocations: 4 kB / 1.402 GB, free: 4.23 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002323/2.373, allocations: 1.261 MB / 1.403 GB, free: 3.047 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/2.373, allocations: 12 kB / 1.403 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/2.373, allocations: 16 kB / 1.403 GB, free: 3.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008292/2.374, allocations: 237.2 kB / 1.403 GB, free: 2.805 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/2.374, allocations: 33.27 kB / 1.403 GB, free: 2.777 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/2.375, allocations: 125.5 kB / 1.403 GB, free: 2.652 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/2.375, allocations: 48.06 kB / 1.403 GB, free: 2.605 MB / 1.014 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.001244/2.376, allocations: 0.653 MB / 1.404 GB, free: 1.965 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/2.377, allocations: 197.5 kB / 1.404 GB, free: 1.77 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003381/2.377, allocations: 171.7 kB / 1.404 GB, free: 1.602 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/2.377, allocations: 7.938 kB / 1.404 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/2.377, allocations: 0 / 1.404 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/2.377, allocations: 7.922 kB / 1.404 GB, free: 1.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/2.381, allocations: 1.94 MB / 1.406 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/2.381, allocations: 4 kB / 1.406 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/2.381, allocations: 51.42 kB / 1.406 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/2.381, allocations: 12 kB / 1.406 GB, free: 15.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/2.381, allocations: 11.94 kB / 1.406 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/2.381, allocations: 14.33 kB / 1.406 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/2.381, allocations: 6.625 kB / 1.406 GB, free: 15.47 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/2.382, allocations: 0.5983 MB / 1.407 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005516/2.383, allocations: 326.4 kB / 1.407 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/2.383, allocations: 15.92 kB / 1.407 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000832/2.384, allocations: 63.95 kB / 1.407 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/2.384, allocations: 30.72 kB / 1.407 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/2.384, allocations: 8 kB / 1.407 GB, free: 14.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002541/2.386, allocations: 1.539 MB / 1.409 GB, free: 12.8 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.61e-07/2.386, allocations: 0 / 1.409 GB, free: 12.8 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002566/2.389, allocations: 0.8191 MB / 1.41 GB, free: 11.98 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.0009579/2.39, allocations: 433.8 kB / 1.41 GB, free: 11.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002942/2.393, allocations: 1.445 MB / 1.411 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.345e-06/2.393, allocations: 4 kB / 1.411 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003593/2.393, allocations: 140.2 kB / 1.412 GB, free: 10.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006072/2.399, allocations: 1.004 MB / 1.413 GB, free: 9.098 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005737/2.405, allocations: 3.635 MB / 1.416 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/2.406, allocations: 1.485 MB / 1.418 GB, free: 3.863 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002127/2.409, allocations: 452.6 kB / 1.418 GB, free: 3.418 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/2.409, allocations: 127.4 kB / 1.418 GB, free: 3.293 MB / 1.029 GB Notification: Performance of SimCode: time 1.743e-06/2.409, allocations: 0 / 1.418 GB, free: 3.293 MB / 1.029 GB Notification: Performance of Templates: time 0.06257/2.471, allocations: 34.97 MB / 1.452 GB, free: 0.8047 MB / 1.061 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/jenkins/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