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.001568/0.001568, allocations: 82.05 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001763/0.001763, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.688/1.688, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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 3.083/3.083, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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 2.705e-06/2.705e-06, allocations: 0 / 1 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.951e-05/4.222e-05, allocations: 6.281 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.574/1.574, allocations: 278.3 MB / 1.272 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.05667/1.631, allocations: 27 MB / 1.298 GB, free: 14.48 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006699/1.638, allocations: 107.5 kB / 1.298 GB, free: 14.43 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01235/1.65, allocations: 2.437 MB / 1.301 GB, free: 13.22 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01737/1.668, allocations: 3.418 MB / 1.304 GB, free: 11.25 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0127/1.68, allocations: 2.93 MB / 1.307 GB, free: 9.785 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01948/1.7, allocations: 8.486 MB / 1.315 GB, free: 6.355 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005163/1.705, allocations: 1.565 MB / 1.317 GB, free: 5.488 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01446/1.719, allocations: 3.649 MB / 1.32 GB, free: 3.816 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00563/1.725, allocations: 1.336 MB / 1.322 GB, free: 3.238 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001282/1.726, allocations: 239.3 kB / 1.322 GB, free: 3.238 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/1.737, allocations: 2.705 MB / 1.325 GB, free: 1.805 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002505/1.739, allocations: 0.8703 MB / 1.325 GB, free: 1.168 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.004074/1.743, allocations: 0.8868 MB / 1.326 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01554/1.759, allocations: 5.154 MB / 1.331 GB, free: 13.17 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/1.759, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.194e-06/1.759, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001563/1.759, allocations: 3.312 kB / 1.331 GB, free: 13.17 MB / 1.123 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.008319/1.767, allocations: 2.864 MB / 1.334 GB, free: 11 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 7.204e-05/1.767, allocations: 7.5 kB / 1.334 GB, free: 11 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006754/1.774, allocations: 0.9643 MB / 1.335 GB, free: 10.55 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01609/1.79, allocations: 5.883 MB / 1.341 GB, free: 6.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001281/1.79, allocations: 106.1 kB / 1.341 GB, free: 6.449 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/1.791, allocations: 129.8 kB / 1.341 GB, free: 6.41 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/1.795, allocations: 1.665 MB / 1.343 GB, free: 5.316 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/1.795, allocations: 5.906 kB / 1.343 GB, free: 5.312 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001766/1.795, allocations: 55.84 kB / 1.343 GB, free: 5.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-05/1.795, allocations: 50.52 kB / 1.343 GB, free: 5.262 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/1.8, allocations: 1.323 MB / 1.344 GB, free: 4.293 MB / 1.123 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.01406/1.814, allocations: 5.197 MB / 1.349 GB, free: 14.95 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002294/1.816, allocations: 0.5715 MB / 1.35 GB, free: 14.37 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/1.817, allocations: 252.1 kB / 1.35 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002807/1.817, allocations: 35.97 kB / 1.35 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.106e-05/1.817, allocations: 35.5 kB / 1.35 GB, free: 14.04 MB / 1.139 GB Notification: Performance of pre-optimization done (n=35): time 5.4e-06/1.817, allocations: 1.312 kB / 1.35 GB, free: 14.04 MB / 1.139 GB Notification: Performance of matching and sorting (n=35): time 0.00368/1.821, allocations: 0.8694 MB / 1.351 GB, free: 13.16 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/1.821, allocations: 55.41 kB / 1.351 GB, free: 13.1 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004273/1.825, allocations: 1.766 MB / 1.353 GB, free: 11.29 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001094/1.825, allocations: 33.7 kB / 1.353 GB, free: 11.25 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001562/1.827, allocations: 1.05 MB / 1.354 GB, free: 10.19 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/1.827, allocations: 134.8 kB / 1.354 GB, free: 10.06 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004538/1.827, allocations: 138.2 kB / 1.354 GB, free: 9.914 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000242/1.828, allocations: 326 kB / 1.354 GB, free: 9.59 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.829, allocations: 319.3 kB / 1.355 GB, free: 9.277 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/1.831, allocations: 0.6657 MB / 1.355 GB, free: 8.469 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/1.834, allocations: 0.7475 MB / 1.356 GB, free: 7.625 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/1.834, allocations: 7.938 kB / 1.356 GB, free: 7.617 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.005058/1.839, allocations: 1.024 MB / 1.357 GB, free: 6.582 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.411e-05/1.839, allocations: 13.81 kB / 1.357 GB, free: 6.57 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/1.839, allocations: 8 kB / 1.357 GB, free: 6.562 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/1.839, allocations: 32.84 kB / 1.357 GB, free: 6.527 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.841, allocations: 190.7 kB / 1.357 GB, free: 6.344 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.843, allocations: 1.441 MB / 1.359 GB, free: 4.805 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/1.846, allocations: 151.6 kB / 1.359 GB, free: 4.656 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/1.846, allocations: 31.98 kB / 1.359 GB, free: 4.625 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003265/1.85, allocations: 0.798 MB / 1.36 GB, free: 3.824 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00203/1.852, allocations: 0.654 MB / 1.36 GB, free: 3.027 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002407/1.854, allocations: 0.7285 MB / 1.361 GB, free: 2.203 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-05/1.854, allocations: 7.938 kB / 1.361 GB, free: 2.195 MB / 1.139 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003727/1.858, allocations: 0.9967 MB / 1.362 GB, free: 1.188 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/1.858, allocations: 8 kB / 1.362 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.858, allocations: 8 kB / 1.362 GB, free: 1.172 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001712/1.858, allocations: 36.78 kB / 1.362 GB, free: 1.133 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/1.859, allocations: 188 kB / 1.362 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/1.861, allocations: 1.45 MB / 1.364 GB, free: 15.4 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.863, allocations: 135.8 kB / 1.364 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.863, allocations: 31.98 kB / 1.364 GB, free: 15.23 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (69): * Single equations (assignments): 67 * 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.0004374/1.864, allocations: 228 kB / 1.364 GB, free: 15 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000769/1.864, allocations: 178.8 kB / 1.364 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/1.867, allocations: 0.671 MB / 1.365 GB, free: 14.14 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.867, allocations: 8.031 kB / 1.365 GB, free: 14.13 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.867, allocations: 4.938 kB / 1.365 GB, free: 14.13 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.867, allocations: 0 / 1.365 GB, free: 14.13 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005757/1.873, allocations: 1.726 MB / 1.366 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/1.873, allocations: 4 kB / 1.366 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/1.874, allocations: 100.1 kB / 1.367 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001633/1.874, allocations: 36.72 kB / 1.367 GB, free: 12.2 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/1.874, allocations: 10.75 kB / 1.367 GB, free: 12.19 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/1.876, allocations: 1.426 MB / 1.368 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.876, allocations: 0 / 1.368 GB, free: 10.66 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002514/1.878, allocations: 0.78 MB / 1.369 GB, free: 9.828 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/1.879, allocations: 226.7 kB / 1.369 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/1.88, allocations: 8 kB / 1.369 GB, free: 9.598 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/1.881, allocations: 59.94 kB / 1.369 GB, free: 9.539 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/1.882, allocations: 35.83 kB / 1.369 GB, free: 9.504 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-05/1.882, allocations: 19.98 kB / 1.369 GB, free: 9.484 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00376/1.885, allocations: 1.24 MB / 1.37 GB, free: 8.223 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.885, allocations: 4 kB / 1.37 GB, free: 8.219 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.004203/1.89, allocations: 0.8337 MB / 1.371 GB, free: 7.383 MB / 1.154 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.001092/1.891, allocations: 263 kB / 1.371 GB, free: 7.117 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004256/1.895, allocations: 1.222 MB / 1.373 GB, free: 5.871 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.895, allocations: 7.938 kB / 1.373 GB, free: 5.863 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009303/1.896, allocations: 336 kB / 1.373 GB, free: 5.523 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005434/1.901, allocations: 0.9603 MB / 1.374 GB, free: 4.602 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/1.911, allocations: 3.189 MB / 1.377 GB, free: 1.348 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/1.914, allocations: 0.9536 MB / 1.378 GB, free: 368 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.002534/1.916, allocations: 390.9 kB / 1.378 GB, free: 15.97 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005538/1.917, allocations: 116.4 kB / 1.378 GB, free: 15.86 MB / 1.17 GB Notification: Performance of SimCode: time 2.635e-06/1.917, allocations: 0 / 1.378 GB, free: 15.86 MB / 1.17 GB Notification: Performance of Templates: time 0.07772/1.995, allocations: 33.04 MB / 1.411 GB, free: 15.5 MB / 1.201 GB " [Timeout remaining time 298] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.391164943575859]