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.001304/0.001304, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001243/0.001243, allocations: 183 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.331/1.331, 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.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8266, allocations: 140.4 MB / 1.089 GB, free: 5.539 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.3589/1.186, allocations: 304.5 MB / 1.386 GB, free: 12.87 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03529/1.221, allocations: 25.62 MB / 1.411 GB, free: 3.176 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/1.224, allocations: 79.56 kB / 1.411 GB, free: 3.098 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004511/1.229, allocations: 1.41 MB / 1.412 GB, free: 1.68 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.008471/1.237, allocations: 2.904 MB / 1.415 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006986/1.244, allocations: 2.621 MB / 1.418 GB, free: 12.15 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.006773/1.251, allocations: 4.339 MB / 1.422 GB, free: 7.793 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002964/1.254, allocations: 1.782 MB / 1.424 GB, free: 5.965 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005527/1.26, allocations: 2.274 MB / 1.426 GB, free: 3.684 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002956/1.263, allocations: 1.28 MB / 1.427 GB, free: 2.406 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004731/1.263, allocations: 207.9 kB / 1.427 GB, free: 2.203 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/1.269, allocations: 3.029 MB / 1.43 GB, free: 15.17 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008904/1.27, allocations: 0.6192 MB / 1.431 GB, free: 14.55 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001551/1.272, allocations: 1.062 MB / 1.432 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007515/1.279, allocations: 4.227 MB / 1.436 GB, free: 9.242 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/1.279, allocations: 4 kB / 1.436 GB, free: 9.238 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.175e-06/1.279, allocations: 0 / 1.436 GB, free: 9.238 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.757e-05/1.279, allocations: 0 / 1.436 GB, free: 9.238 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.004315/1.284, allocations: 2.296 MB / 1.438 GB, free: 6.875 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.284, allocations: 12.03 kB / 1.438 GB, free: 6.863 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004357/1.288, allocations: 0.6651 MB / 1.439 GB, free: 6.195 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/1.292, allocations: 2.034 MB / 1.441 GB, free: 4.105 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.906e-05/1.292, allocations: 90.16 kB / 1.441 GB, free: 4.016 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/1.292, allocations: 107.9 kB / 1.441 GB, free: 3.91 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/1.295, allocations: 1.448 MB / 1.443 GB, free: 2.324 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/1.296, allocations: 7.938 kB / 1.443 GB, free: 2.316 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/1.296, allocations: 48 kB / 1.443 GB, free: 2.27 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/1.296, allocations: 42 kB / 1.443 GB, free: 2.23 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/1.299, allocations: 1.108 MB / 1.444 GB, free: 1.121 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.009752/1.308, allocations: 7.502 MB / 1.451 GB, free: 9.223 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/1.31, allocations: 479.6 kB / 1.452 GB, free: 8.727 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/1.311, allocations: 148.8 kB / 1.452 GB, free: 8.578 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002945/1.311, allocations: 194.1 kB / 1.452 GB, free: 8.352 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.311, allocations: 34.56 kB / 1.452 GB, free: 8.309 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 2.665e-06/1.311, allocations: 4 kB / 1.452 GB, free: 8.305 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.002136/1.313, allocations: 0.5868 MB / 1.453 GB, free: 7.711 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/1.313, allocations: 59.41 kB / 1.453 GB, free: 7.641 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003093/1.316, allocations: 1.748 MB / 1.454 GB, free: 5.848 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/1.317, allocations: 33.7 kB / 1.454 GB, free: 5.809 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000814/1.317, allocations: 0.8483 MB / 1.455 GB, free: 4.953 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/1.317, allocations: 75.03 kB / 1.455 GB, free: 4.879 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003622/1.318, allocations: 174.4 kB / 1.455 GB, free: 4.703 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.318, allocations: 337.9 kB / 1.456 GB, free: 4.367 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009618/1.319, allocations: 308.7 kB / 1.456 GB, free: 4.062 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/1.32, allocations: 0.7232 MB / 1.457 GB, free: 3.133 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/1.322, allocations: 0.9257 MB / 1.458 GB, free: 2.023 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/1.322, allocations: 4 kB / 1.458 GB, free: 2.02 MB / 1.186 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003338/1.325, allocations: 1.105 MB / 1.459 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.326, allocations: 8 kB / 1.459 GB, free: 0.8984 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-05/1.326, allocations: 20.16 kB / 1.459 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.505e-05/1.326, allocations: 19.94 kB / 1.459 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008653/1.326, allocations: 207.7 kB / 1.459 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/1.327, allocations: 27.88 kB / 1.459 GB, free: 0.6289 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.328, allocations: 207.2 kB / 1.459 GB, free: 436 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.954e-05/1.328, allocations: 43.98 kB / 1.459 GB, free: 392 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001423/1.33, allocations: 0.6425 MB / 1.46 GB, free: 15.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/1.331, allocations: 0.6842 MB / 1.461 GB, free: 14.85 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001454/1.332, allocations: 0.8738 MB / 1.461 GB, free: 13.79 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.114e-05/1.332, allocations: 4 kB / 1.461 GB, free: 13.79 MB / 1.201 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.002453/1.335, allocations: 1.031 MB / 1.462 GB, free: 12.75 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.46e-05/1.335, allocations: 12 kB / 1.462 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.335, allocations: 12 kB / 1.462 GB, free: 12.72 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/1.335, allocations: 20 kB / 1.462 GB, free: 12.7 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/1.335, allocations: 196.1 kB / 1.463 GB, free: 12.51 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.96e-05/1.335, allocations: 31.98 kB / 1.463 GB, free: 12.48 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.337, allocations: 156 kB / 1.463 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/1.337, allocations: 47.92 kB / 1.463 GB, free: 12.28 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.0002623/1.337, allocations: 228 kB / 1.463 GB, free: 12.05 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/1.338, allocations: 158 kB / 1.463 GB, free: 11.89 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001531/1.339, allocations: 479.4 kB / 1.464 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.339, allocations: 0 / 1.464 GB, free: 11.42 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.339, allocations: 4 kB / 1.464 GB, free: 11.41 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.339, allocations: 0 / 1.464 GB, free: 11.41 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.00344/1.343, allocations: 1.619 MB / 1.465 GB, free: 9.695 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/1.343, allocations: 0 / 1.465 GB, free: 9.695 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/1.343, allocations: 59.89 kB / 1.465 GB, free: 9.637 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/1.343, allocations: 4.25 kB / 1.465 GB, free: 9.633 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.619e-05/1.343, allocations: 15.98 kB / 1.465 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.343, allocations: 0 / 1.465 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.343, allocations: 7.938 kB / 1.465 GB, free: 9.609 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/1.344, allocations: 0.6103 MB / 1.466 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/1.345, allocations: 291 kB / 1.466 GB, free: 8.648 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.345, allocations: 11.98 kB / 1.466 GB, free: 8.637 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009441/1.346, allocations: 59.94 kB / 1.466 GB, free: 8.578 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.299e-05/1.346, allocations: 23.86 kB / 1.466 GB, free: 8.555 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/1.346, allocations: 19.97 kB / 1.466 GB, free: 8.535 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.002142/1.349, allocations: 1.207 MB / 1.467 GB, free: 7.305 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.61e-07/1.349, allocations: 0 / 1.467 GB, free: 7.305 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002188/1.351, allocations: 0.6668 MB / 1.468 GB, free: 6.637 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.0007055/1.351, allocations: 307.8 kB / 1.468 GB, free: 6.328 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002843/1.354, allocations: 1.016 MB / 1.469 GB, free: 5.316 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.354, allocations: 0 / 1.469 GB, free: 5.316 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0005264/1.355, allocations: 149.7 kB / 1.47 GB, free: 5.172 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/1.359, allocations: 0.8701 MB / 1.47 GB, free: 4.312 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004721/1.364, allocations: 2.459 MB / 1.473 GB, free: 1.789 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.365, allocations: 1.291 MB / 1.474 GB, free: 480 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/1.365, allocations: 123.4 kB / 1.474 GB, free: 356 kB / 1.201 GB Notification: Performance of SimCode: time 1.002e-06/1.365, allocations: 0 / 1.474 GB, free: 356 kB / 1.201 GB Notification: Performance of Templates: time 0.04306/1.408, allocations: 27.65 MB / 1.501 GB, free: 4.887 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