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.001176/0.001176, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001306/0.001306, allocations: 177.3 kB / 15.94 MB, free: 228 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.508/1.508, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.524/2.524, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003558, allocations: 12 kB / 0.8145 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9328/0.9332, allocations: 142.3 MB / 0.9535 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.2814/1.215, allocations: 247.1 MB / 1.195 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03501/1.25, allocations: 22.53 MB / 1.217 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/1.253, allocations: 59.62 kB / 1.217 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004598/1.258, allocations: 0.9915 MB / 1.218 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/1.27, allocations: 2.906 MB / 1.221 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007534/1.277, allocations: 1.916 MB / 1.223 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006657/1.284, allocations: 2.584 MB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/1.286, allocations: 1.206 MB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/1.29, allocations: 1.546 MB / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/1.292, allocations: 0.7739 MB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/1.292, allocations: 60 kB / 1.229 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004034/1.296, allocations: 1.443 MB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005388/1.297, allocations: 434.6 kB / 1.23 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000647/1.298, allocations: 420.8 kB / 1.231 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004635/1.302, allocations: 2.895 MB / 1.234 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/1.302, allocations: 4 kB / 1.234 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.366e-06/1.302, allocations: 0 / 1.234 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.673e-05/1.302, allocations: 0 / 1.234 GB, free: 0.6953 MB / 0.9825 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.00456/1.307, allocations: 1.911 MB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.307, allocations: 8.031 kB / 1.235 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/1.312, allocations: 0.708 MB / 1.236 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004993/1.317, allocations: 1.922 MB / 1.238 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006734/1.317, allocations: 214 kB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002607/1.318, allocations: 108 kB / 1.238 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/1.321, allocations: 1.431 MB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/1.321, allocations: 3.938 kB / 1.24 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.321, allocations: 48 kB / 1.24 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.824e-05/1.321, allocations: 46 kB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002958/1.324, allocations: 1.163 MB / 1.241 GB, free: 8.906 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.01001/1.334, allocations: 6.992 MB / 1.248 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/1.336, allocations: 429.5 kB / 1.248 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/1.336, allocations: 8 kB / 1.248 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/1.336, allocations: 38.56 kB / 1.248 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000623/1.336, allocations: 82.94 kB / 1.248 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.986e-06/1.336, allocations: 0 / 1.248 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.002076/1.338, allocations: 0.6359 MB / 1.249 GB, free: 352 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/1.339, allocations: 55.41 kB / 1.249 GB, free: 284 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6547/1.993, allocations: 1.717 MB / 1.251 GB, free: 286.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002228/1.994, allocations: 32.33 kB / 1.251 GB, free: 286.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.995, allocations: 0.8351 MB / 1.252 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/1.995, allocations: 79.92 kB / 1.252 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/1.995, allocations: 10.94 kB / 1.252 GB, free: 285.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/1.995, allocations: 333.4 kB / 1.252 GB, free: 285.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/1.997, allocations: 323.4 kB / 1.252 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001888/1.999, allocations: 0.6983 MB / 1.253 GB, free: 284.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/2.001, allocations: 399.2 kB / 1.253 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/2.001, allocations: 4.016 kB / 1.253 GB, free: 284.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004346/2.005, allocations: 1.101 MB / 1.254 GB, free: 284.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.001109/2.006, allocations: 4.964 MB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-05/2.006, allocations: 15.41 kB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.491e-05/2.006, allocations: 18.44 kB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/2.008, allocations: 222.9 kB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.831e-05/2.008, allocations: 22.83 kB / 1.259 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002595/2.01, allocations: 189.4 kB / 1.26 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/2.011, allocations: 46.7 kB / 1.26 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/2.011, allocations: 4.469 kB / 1.26 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002509/2.013, allocations: 0.8772 MB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/2.013, allocations: 12.34 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/2.013, allocations: 22.2 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/2.014, allocations: 202.5 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.559e-05/2.014, allocations: 22.75 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/2.016, allocations: 146.5 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/2.016, allocations: 40.38 kB / 1.261 GB, free: 278.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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.001187/2.017, allocations: 0.5198 MB / 1.262 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/2.018, allocations: 156 kB / 1.262 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/2.019, allocations: 0.4914 MB / 1.262 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/2.019, allocations: 2.094 kB / 1.262 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/2.019, allocations: 1.406 kB / 1.262 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/2.019, allocations: 4.562 kB / 1.262 GB, free: 277.7 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.003551/2.023, allocations: 1.69 MB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/2.023, allocations: 5.875 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/2.023, allocations: 63.02 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/2.023, allocations: 4.219 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/2.023, allocations: 11.66 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.646e-06/2.023, allocations: 3.094 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.023, allocations: 6.469 kB / 1.264 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/2.025, allocations: 0.7599 MB / 1.265 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/2.026, allocations: 292.8 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/2.026, allocations: 5.859 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009878/2.027, allocations: 94.3 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/2.027, allocations: 24.77 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/2.027, allocations: 14.28 kB / 1.265 GB, free: 276 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002539/2.03, allocations: 1.195 MB / 1.266 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.2e-07/2.03, allocations: 0 / 1.266 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002346/2.032, allocations: 0.6709 MB / 1.267 GB, free: 275.4 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.0006514/2.033, allocations: 286.8 kB / 1.267 GB, free: 275.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003086/2.036, allocations: 1.05 MB / 1.268 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/2.036, allocations: 1.156 kB / 1.268 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00053/2.036, allocations: 168.7 kB / 1.268 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/2.04, allocations: 0.7944 MB / 1.269 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004428/2.044, allocations: 2.82 MB / 1.272 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/2.045, allocations: 1.324 MB / 1.273 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001881/2.047, allocations: 352.3 kB / 1.273 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/2.047, allocations: 109 kB / 1.274 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.623e-06/2.047, allocations: 1.031 kB / 1.274 GB, free: 271.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04678/2.094, allocations: 27.26 MB / 1.3 GB, free: 253.1 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","../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches