Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.012/1.012, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.301/2.301, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in|sin.T_in|floMac.inlet.p|floMac.outlet.p|hea.inlet.p|hea.outlet.p|sou.outlet.p|sin.inlet.p",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.076e-06/3.076e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.584e-05/3.891e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.959/0.959, allocations: 314.9 MB / 1.186 GB, free: 30.18 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02559/0.9846, allocations: 30.93 MB / 1.216 GB, free: 11.43 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002927/0.9875, allocations: 114 kB / 1.216 GB, free: 11.42 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.9924, allocations: 2.445 MB / 1.218 GB, free: 10.47 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005893/0.9983, allocations: 3.438 MB / 1.222 GB, free: 8.492 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005173/1.003, allocations: 3.219 MB / 1.225 GB, free: 6.871 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.007672/1.011, allocations: 8.57 MB / 1.233 GB, free: 3.395 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/1.013, allocations: 1.654 MB / 1.235 GB, free: 2.312 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/1.017, allocations: 3.684 MB / 1.239 GB, free: 0.6289 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/1.019, allocations: 1.381 MB / 1.24 GB, free: 164 kB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002865/1.019, allocations: 240.8 kB / 1.24 GB, free: 164 kB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003608/1.023, allocations: 2.712 MB / 1.243 GB, free: 15.24 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0005618/1.023, allocations: 0.8762 MB / 1.244 GB, free: 14.74 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0008839/1.024, allocations: 0.8974 MB / 1.244 GB, free: 14.33 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.004016/1.028, allocations: 3.322 MB / 1.248 GB, free: 12.9 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.028, allocations: 0 / 1.248 GB, free: 12.9 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.373e-06/1.028, allocations: 0 / 1.248 GB, free: 12.9 MB / 1.026 GB Notification: Performance of Transformations before backend: time 4.607e-05/1.028, allocations: 0 / 1.248 GB, free: 12.9 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003496/1.032, allocations: 3.051 MB / 1.251 GB, free: 10.81 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/1.032, allocations: 10.06 kB / 1.251 GB, free: 10.81 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/1.035, allocations: 0.9948 MB / 1.252 GB, free: 10.52 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005873/1.041, allocations: 5.567 MB / 1.257 GB, free: 7.133 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/1.041, allocations: 112.5 kB / 1.257 GB, free: 7.078 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/1.041, allocations: 137.7 kB / 1.257 GB, free: 7.035 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/1.043, allocations: 1.18 MB / 1.259 GB, free: 6.234 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.043, allocations: 3.938 kB / 1.259 GB, free: 6.23 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/1.043, allocations: 54.72 kB / 1.259 GB, free: 6.191 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/1.043, allocations: 48.5 kB / 1.259 GB, free: 6.184 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000959/1.044, allocations: 0.5375 MB / 1.259 GB, free: 5.988 MB / 1.026 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.005694/1.049, allocations: 5.719 MB / 1.265 GB, free: 1.406 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008447/1.05, allocations: 379.7 kB / 1.265 GB, free: 1.254 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/1.051, allocations: 125.3 kB / 1.265 GB, free: 1.207 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/1.051, allocations: 44.59 kB / 1.265 GB, free: 1.191 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/1.051, allocations: 41.39 kB / 1.265 GB, free: 1.145 MB / 1.026 GB Notification: Performance of pre-optimization done (n=35): time 3.066e-06/1.051, allocations: 0 / 1.265 GB, free: 1.145 MB / 1.026 GB Notification: Performance of matching and sorting (n=35): time 0.001263/1.052, allocations: 0.5524 MB / 1.266 GB, free: 0.875 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/1.052, allocations: 57.34 kB / 1.266 GB, free: 0.8125 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/1.054, allocations: 1.623 MB / 1.267 GB, free: 15.86 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/1.054, allocations: 37.02 kB / 1.268 GB, free: 15.82 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007542/1.054, allocations: 1.163 MB / 1.269 GB, free: 14.81 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/1.054, allocations: 123.6 kB / 1.269 GB, free: 14.7 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/1.055, allocations: 166 kB / 1.269 GB, free: 14.59 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.055, allocations: 0.502 MB / 1.269 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/1.055, allocations: 103.6 kB / 1.27 GB, free: 14.05 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008543/1.056, allocations: 0.641 MB / 1.27 GB, free: 13.29 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006073/1.057, allocations: 0.6176 MB / 1.271 GB, free: 12.68 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.057, allocations: 3.25 kB / 1.271 GB, free: 12.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009687/1.057, allocations: 0.7295 MB / 1.271 GB, free: 12.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/1.057, allocations: 8.938 kB / 1.271 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/1.058, allocations: 9.281 kB / 1.271 GB, free: 12.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/1.058, allocations: 36.3 kB / 1.272 GB, free: 12.29 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004944/1.058, allocations: 181.8 kB / 1.272 GB, free: 12.24 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001073/1.059, allocations: 2.019 MB / 1.274 GB, free: 10.19 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005827/1.06, allocations: 111.9 kB / 1.274 GB, free: 10.13 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/1.06, allocations: 44.58 kB / 1.274 GB, free: 10.12 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004159/1.06, allocations: 237 kB / 1.274 GB, free: 9.945 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004485/1.061, allocations: 0.6364 MB / 1.275 GB, free: 9.195 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005667/1.061, allocations: 0.606 MB / 1.275 GB, free: 8.586 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5e-06/1.061, allocations: 2.281 kB / 1.275 GB, free: 8.586 MB / 1.042 GB Notification: Performance of matching and sorting (n=81) (initialization_lambda0): time 0.0008477/1.062, allocations: 0.7011 MB / 1.276 GB, free: 8.238 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 9.317e-06/1.062, allocations: 9.125 kB / 1.276 GB, free: 8.238 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/1.062, allocations: 10.38 kB / 1.276 GB, free: 8.238 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.201e-05/1.062, allocations: 45.42 kB / 1.276 GB, free: 8.211 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/1.063, allocations: 173.2 kB / 1.276 GB, free: 8.172 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/1.064, allocations: 2.01 MB / 1.278 GB, free: 6.129 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/1.064, allocations: 101.8 kB / 1.278 GB, free: 6.078 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.225e-05/1.064, allocations: 36.61 kB / 1.278 GB, free: 6.07 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (78): * Single equations (assignments): 76 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001579/1.064, allocations: 308.6 kB / 1.279 GB, free: 5.773 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/1.065, allocations: 201.5 kB / 1.279 GB, free: 5.66 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/1.065, allocations: 467.2 kB / 1.279 GB, free: 5.359 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/1.065, allocations: 4 kB / 1.279 GB, free: 5.355 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.065, allocations: 0 / 1.279 GB, free: 5.355 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/1.065, allocations: 4 kB / 1.279 GB, free: 5.352 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/1.067, allocations: 1.636 MB / 1.281 GB, free: 3.633 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.067, allocations: 4 kB / 1.281 GB, free: 3.629 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/1.067, allocations: 88.09 kB / 1.281 GB, free: 3.543 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.727e-05/1.067, allocations: 27.67 kB / 1.281 GB, free: 3.512 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/1.067, allocations: 8 kB / 1.281 GB, free: 3.504 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007408/1.068, allocations: 2.008 MB / 1.283 GB, free: 1.383 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.068, allocations: 0 / 1.283 GB, free: 1.383 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/1.069, allocations: 0.6495 MB / 1.283 GB, free: 0.6719 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/1.069, allocations: 226.7 kB / 1.284 GB, free: 460 kB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/1.069, allocations: 8 kB / 1.284 GB, free: 452 kB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/1.069, allocations: 36.03 kB / 1.284 GB, free: 416 kB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/1.069, allocations: 35.83 kB / 1.284 GB, free: 380 kB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/1.069, allocations: 23.92 kB / 1.284 GB, free: 356 kB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0008701/1.07, allocations: 0.9128 MB / 1.285 GB, free: 15.41 MB / 1.057 GB Notification: Performance of sort global known variables: time 6e-08/1.07, allocations: 4 kB / 1.285 GB, free: 15.41 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.001663/1.072, allocations: 0.8532 MB / 1.286 GB, free: 14.55 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003684/1.072, allocations: 263.5 kB / 1.286 GB, free: 14.29 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.001056/1.073, allocations: 0.9157 MB / 1.287 GB, free: 13.33 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.073, allocations: 0 / 1.287 GB, free: 13.33 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/1.074, allocations: 298.6 kB / 1.287 GB, free: 13.02 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.076, allocations: 0.995 MB / 1.288 GB, free: 12.05 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/1.079, allocations: 2.858 MB / 1.291 GB, free: 9.109 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/1.079, allocations: 420 kB / 1.291 GB, free: 8.676 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0008767/1.08, allocations: 363.2 kB / 1.291 GB, free: 8.316 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/1.08, allocations: 116.5 kB / 1.292 GB, free: 8.203 MB / 1.057 GB Notification: Performance of SimCode: time 1.012e-06/1.08, allocations: 0 / 1.292 GB, free: 8.203 MB / 1.057 GB Notification: Performance of Templates: time 0.03948/1.12, allocations: 33.56 MB / 1.324 GB, free: 7.395 MB / 1.089 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.543811440933496]