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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001111/0.001111, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.001554/0.001554, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.9 MB / 0.666 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006242/0.0006245, allocations: 8 kB / 0.8153 GB, free: 13.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9506/0.9513, allocations: 142.4 MB / 0.9544 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.3198/1.271, allocations: 278.4 MB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03558/1.307, allocations: 23.81 MB / 1.25 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/1.311, allocations: 67.56 kB / 1.25 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.8534/2.164, allocations: 0.8601 MB / 1.25 GB, free: 32.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008941/2.173, allocations: 2.089 MB / 1.252 GB, free: 32.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006789/2.18, allocations: 1.738 MB / 1.254 GB, free: 32.35 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00982/2.19, allocations: 4.802 MB / 1.259 GB, free: 32.34 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003089/2.193, allocations: 1.197 MB / 1.26 GB, free: 32.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006309/2.199, allocations: 1.708 MB / 1.262 GB, free: 32.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/2.203, allocations: 1.151 MB / 1.263 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/2.203, allocations: 61.84 kB / 1.263 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006405/2.21, allocations: 1.653 MB / 1.264 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009243/2.211, allocations: 474.3 kB / 1.265 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001254/2.212, allocations: 430.2 kB / 1.265 GB, free: 32.13 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005739/2.218, allocations: 3.052 MB / 1.268 GB, free: 31.94 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/2.218, allocations: 4.719 kB / 1.268 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.615e-06/2.218, allocations: 0 / 1.268 GB, free: 31.93 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.404e-05/2.218, allocations: 0 / 1.268 GB, free: 31.93 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.004771/2.222, allocations: 1.954 MB / 1.27 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/2.222, allocations: 9.875 kB / 1.27 GB, free: 30.81 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004421/2.227, allocations: 0.7063 MB / 1.271 GB, free: 30.68 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004482/2.231, allocations: 1.925 MB / 1.273 GB, free: 30.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000666/2.232, allocations: 217.2 kB / 1.273 GB, free: 30.27 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/2.232, allocations: 110.4 kB / 1.273 GB, free: 30.27 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/2.236, allocations: 1.444 MB / 1.275 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/2.236, allocations: 4.312 kB / 1.275 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/2.236, allocations: 46.41 kB / 1.275 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.019e-05/2.236, allocations: 44.22 kB / 1.275 GB, free: 29.95 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/2.239, allocations: 1.168 MB / 1.276 GB, free: 29.91 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.0088/2.247, allocations: 6.986 MB / 1.283 GB, free: 26.12 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/2.249, allocations: 433.5 kB / 1.283 GB, free: 26.08 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004396/2.249, allocations: 164.3 kB / 1.283 GB, free: 26.06 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/2.25, allocations: 187.3 kB / 1.283 GB, free: 25.88 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/2.25, allocations: 37.75 kB / 1.283 GB, free: 25.84 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008453/2.251, allocations: 73.69 kB / 1.283 GB, free: 25.79 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/2.251, allocations: 4 kB / 1.283 GB, free: 25.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.001769/2.252, allocations: 0.6257 MB / 1.284 GB, free: 25.66 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/2.252, allocations: 51.41 kB / 1.284 GB, free: 25.59 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/2.255, allocations: 1.72 MB / 1.286 GB, free: 25.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/2.255, allocations: 39.14 kB / 1.286 GB, free: 25.32 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006291/2.255, allocations: 0.8323 MB / 1.287 GB, free: 25.04 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.351e-05/2.256, allocations: 79.03 kB / 1.287 GB, free: 24.99 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/2.256, allocations: 10.94 kB / 1.287 GB, free: 24.99 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/2.256, allocations: 337.4 kB / 1.287 GB, free: 24.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/2.256, allocations: 315.3 kB / 1.287 GB, free: 24.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009823/2.257, allocations: 0.6973 MB / 1.288 GB, free: 24.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008654/2.258, allocations: 395.2 kB / 1.288 GB, free: 24.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/2.258, allocations: 7.266 kB / 1.288 GB, free: 24.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002387/2.261, allocations: 1.107 MB / 1.289 GB, free: 24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002702/2.261, allocations: 448.6 kB / 1.29 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/2.261, allocations: 13.59 kB / 1.29 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.169e-05/2.261, allocations: 22.64 kB / 1.29 GB, free: 23.47 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000826/2.262, allocations: 211.5 kB / 1.29 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.347e-05/2.262, allocations: 22.28 kB / 1.29 GB, free: 23.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001835/2.264, allocations: 186.4 kB / 1.29 GB, free: 23.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.329e-05/2.264, allocations: 44.92 kB / 1.29 GB, free: 23.45 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/2.264, allocations: 2.906 kB / 1.29 GB, free: 23.45 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001768/2.266, allocations: 0.8667 MB / 1.291 GB, free: 23.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/2.266, allocations: 22.95 kB / 1.291 GB, free: 23.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/2.266, allocations: 21.34 kB / 1.291 GB, free: 23.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/2.266, allocations: 203.3 kB / 1.291 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/2.267, allocations: 23.06 kB / 1.292 GB, free: 23.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/2.268, allocations: 146.8 kB / 1.292 GB, free: 23.38 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.098e-05/2.268, allocations: 38.47 kB / 1.292 GB, free: 23.38 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001137/2.269, allocations: 0.5139 MB / 1.292 GB, free: 23.19 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000353/2.27, allocations: 157.2 kB / 1.292 GB, free: 23.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/2.271, allocations: 0.4943 MB / 1.293 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/2.271, allocations: 2.812 kB / 1.293 GB, free: 23.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/2.271, allocations: 6.047 kB / 1.293 GB, free: 23.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/2.271, allocations: 0 / 1.293 GB, free: 23.03 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 postOpt removeSimpleEquations (simulation): time 0.003894/2.275, allocations: 1.616 MB / 1.294 GB, free: 22.63 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/2.275, allocations: 0 / 1.294 GB, free: 22.63 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/2.275, allocations: 71.16 kB / 1.294 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/2.275, allocations: 3.188 kB / 1.294 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/2.275, allocations: 12.58 kB / 1.294 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/2.275, allocations: 2.484 kB / 1.294 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/2.276, allocations: 5.094 kB / 1.294 GB, free: 22.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/2.277, allocations: 0.621 MB / 1.295 GB, free: 22.32 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/2.278, allocations: 299.6 kB / 1.295 GB, free: 22.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007128/2.279, allocations: 10.47 kB / 1.295 GB, free: 22.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/2.28, allocations: 91.2 kB / 1.295 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/2.28, allocations: 19.06 kB / 1.295 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/2.28, allocations: 24.22 kB / 1.296 GB, free: 22.13 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002988/2.283, allocations: 1.196 MB / 1.297 GB, free: 21.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/2.283, allocations: 0 / 1.297 GB, free: 21.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003785/2.287, allocations: 0.6636 MB / 1.297 GB, free: 21.9 MB / 0.9981 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009764/2.288, allocations: 307.9 kB / 1.298 GB, free: 21.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002817/2.291, allocations: 1.045 MB / 1.299 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/2.291, allocations: 0 / 1.299 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000474/2.291, allocations: 165.8 kB / 1.299 GB, free: 21.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/2.296, allocations: 0.7979 MB / 1.3 GB, free: 21.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005864/2.302, allocations: 2.833 MB / 1.302 GB, free: 20.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/2.303, allocations: 1.29 MB / 1.304 GB, free: 19.57 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002513/2.306, allocations: 337.7 kB / 1.304 GB, free: 19.47 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004405/2.306, allocations: 111.4 kB / 1.304 GB, free: 19.46 MB / 0.9981 GB Notification: Performance of SimCode: time 1.402e-06/2.306, allocations: 0 / 1.304 GB, free: 19.46 MB / 0.9981 GB Notification: Performance of Templates: time 0.05037/2.357, allocations: 27.43 MB / 1.331 GB, free: 10.7 MB / 0.9981 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/jenkins/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