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.001376/0.001376, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00147/0.00147, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.382/2.382, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 59.89 kB / 0.9515 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8935/0.8951, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMac.com.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3457/1.241, allocations: 304.4 MB / 1.386 GB, free: 12.83 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03497/1.276, allocations: 25.61 MB / 1.411 GB, free: 3.141 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003717/1.28, allocations: 79.56 kB / 1.411 GB, free: 3.062 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004606/1.284, allocations: 1.442 MB / 1.412 GB, free: 1.613 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008501/1.293, allocations: 3.002 MB / 1.415 GB, free: 14.6 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006972/1.3, allocations: 2.675 MB / 1.418 GB, free: 11.93 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008042/1.308, allocations: 4.342 MB / 1.422 GB, free: 7.574 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00422/1.312, allocations: 1.782 MB / 1.424 GB, free: 5.746 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006005/1.318, allocations: 2.305 MB / 1.426 GB, free: 3.434 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003205/1.321, allocations: 1.277 MB / 1.427 GB, free: 2.156 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007222/1.322, allocations: 208 kB / 1.428 GB, free: 1.953 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006824/1.329, allocations: 3.04 MB / 1.431 GB, free: 14.91 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001203/1.33, allocations: 0.6193 MB / 1.431 GB, free: 14.29 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/1.332, allocations: 1.069 MB / 1.432 GB, free: 13.21 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008164/1.341, allocations: 4.219 MB / 1.436 GB, free: 8.98 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/1.341, allocations: 0 / 1.436 GB, free: 8.98 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.744e-06/1.341, allocations: 3.938 kB / 1.436 GB, free: 8.977 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.563e-05/1.341, allocations: 0 / 1.436 GB, free: 8.977 MB / 1.17 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.004718/1.345, allocations: 2.296 MB / 1.439 GB, free: 6.613 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/1.346, allocations: 8.031 kB / 1.439 GB, free: 6.605 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004286/1.35, allocations: 0.669 MB / 1.439 GB, free: 5.934 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003992/1.354, allocations: 2.037 MB / 1.441 GB, free: 3.84 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/1.354, allocations: 86.16 kB / 1.441 GB, free: 3.754 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/1.354, allocations: 115.9 kB / 1.441 GB, free: 3.641 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/1.357, allocations: 1.44 MB / 1.443 GB, free: 2.062 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/1.357, allocations: 3.938 kB / 1.443 GB, free: 2.059 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/1.357, allocations: 51.94 kB / 1.443 GB, free: 2.008 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-05/1.357, allocations: 49.98 kB / 1.443 GB, free: 1.961 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002751/1.36, allocations: 1.108 MB / 1.444 GB, free: 0.8516 MB / 1.17 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.00922/1.369, allocations: 7.488 MB / 1.451 GB, free: 8.965 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001981/1.371, allocations: 485.5 kB / 1.452 GB, free: 8.465 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/1.372, allocations: 152.8 kB / 1.452 GB, free: 8.312 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/1.372, allocations: 186.2 kB / 1.452 GB, free: 8.094 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/1.372, allocations: 38.56 kB / 1.452 GB, free: 8.047 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 3.426e-06/1.372, allocations: 0 / 1.452 GB, free: 8.047 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.00212/1.374, allocations: 0.5891 MB / 1.453 GB, free: 7.449 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/1.374, allocations: 55.41 kB / 1.453 GB, free: 7.383 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/1.378, allocations: 1.748 MB / 1.455 GB, free: 5.59 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001241/1.378, allocations: 37.64 kB / 1.455 GB, free: 5.547 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007469/1.379, allocations: 0.8444 MB / 1.455 GB, free: 4.695 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.379, allocations: 75.03 kB / 1.455 GB, free: 4.621 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/1.379, allocations: 186.3 kB / 1.456 GB, free: 4.434 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.379, allocations: 334 kB / 1.456 GB, free: 4.102 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/1.38, allocations: 312.7 kB / 1.456 GB, free: 3.793 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/1.381, allocations: 0.7154 MB / 1.457 GB, free: 2.871 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/1.383, allocations: 0.9335 MB / 1.458 GB, free: 1.754 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/1.383, allocations: 4 kB / 1.458 GB, free: 1.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002966/1.386, allocations: 1.093 MB / 1.459 GB, free: 0.6484 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/1.386, allocations: 12 kB / 1.459 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/1.386, allocations: 12 kB / 1.459 GB, free: 0.625 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.408e-05/1.386, allocations: 24.75 kB / 1.459 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008557/1.387, allocations: 207.7 kB / 1.459 GB, free: 408 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-05/1.387, allocations: 31.86 kB / 1.459 GB, free: 376 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.389, allocations: 203.2 kB / 1.459 GB, free: 172 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.344e-05/1.389, allocations: 51.98 kB / 1.459 GB, free: 120 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00145/1.39, allocations: 0.6425 MB / 1.46 GB, free: 15.47 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/1.391, allocations: 0.6764 MB / 1.461 GB, free: 14.59 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001621/1.393, allocations: 0.8738 MB / 1.462 GB, free: 13.54 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.637e-06/1.393, allocations: 8 kB / 1.462 GB, free: 13.53 MB / 1.201 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.003026/1.396, allocations: 1.027 MB / 1.463 GB, free: 12.49 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/1.396, allocations: 14.03 kB / 1.463 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/1.396, allocations: 12 kB / 1.463 GB, free: 12.47 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/1.396, allocations: 23.98 kB / 1.463 GB, free: 12.45 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007873/1.397, allocations: 199.6 kB / 1.463 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.141e-05/1.397, allocations: 27.92 kB / 1.463 GB, free: 12.22 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00188/1.399, allocations: 144 kB / 1.463 GB, free: 12.08 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.032e-05/1.399, allocations: 48.06 kB / 1.463 GB, free: 12.04 MB / 1.201 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.000458/1.4, allocations: 232 kB / 1.463 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003255/1.4, allocations: 166 kB / 1.463 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/1.402, allocations: 479.3 kB / 1.464 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.402, allocations: 7.938 kB / 1.464 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/1.402, allocations: 0 / 1.464 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/1.402, allocations: 3.984 kB / 1.464 GB, free: 11.15 MB / 1.201 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.003473/1.405, allocations: 1.612 MB / 1.465 GB, free: 9.434 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.405, allocations: 4 kB / 1.465 GB, free: 9.43 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/1.406, allocations: 63.88 kB / 1.466 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.406, allocations: 0 / 1.466 GB, free: 9.367 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.74e-05/1.406, allocations: 8 kB / 1.466 GB, free: 9.359 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/1.406, allocations: 4 kB / 1.466 GB, free: 9.355 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.406, allocations: 8.031 kB / 1.466 GB, free: 9.348 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/1.407, allocations: 0.6065 MB / 1.466 GB, free: 8.695 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005633/1.408, allocations: 299 kB / 1.466 GB, free: 8.383 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/1.408, allocations: 8 kB / 1.466 GB, free: 8.375 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/1.409, allocations: 67.86 kB / 1.466 GB, free: 8.309 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/1.409, allocations: 19.86 kB / 1.467 GB, free: 8.289 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.455e-05/1.409, allocations: 19.98 kB / 1.467 GB, free: 8.27 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002119/1.411, allocations: 1.211 MB / 1.468 GB, free: 7.035 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.411, allocations: 0 / 1.468 GB, free: 7.035 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002351/1.413, allocations: 0.6629 MB / 1.468 GB, free: 6.371 MB / 1.201 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.0006533/1.414, allocations: 302.7 kB / 1.469 GB, free: 6.07 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002685/1.417, allocations: 1.019 MB / 1.47 GB, free: 5.059 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.417, allocations: 0 / 1.47 GB, free: 5.059 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000476/1.417, allocations: 157 kB / 1.47 GB, free: 4.906 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003522/1.421, allocations: 0.8585 MB / 1.471 GB, free: 4.059 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/1.425, allocations: 2.479 MB / 1.473 GB, free: 1.516 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008404/1.426, allocations: 1.287 MB / 1.474 GB, free: 204 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/1.426, allocations: 127.4 kB / 1.474 GB, free: 76 kB / 1.201 GB Notification: Performance of SimCode: time 1.362e-06/1.426, allocations: 0 / 1.474 GB, free: 76 kB / 1.201 GB Notification: Performance of Templates: time 0.03997/1.466, allocations: 27.63 MB / 1.501 GB, free: 4.629 MB / 1.232 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/jenkins1/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