Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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.001914/0.001914, allocations: 84.67 kB / 19.76 MB, free: 2.023 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.002726/0.002726, allocations: 159.3 kB / 23.01 MB, free: 4.961 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.532/1.532, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.939/2.939, allocations: 359.1 MB / 0.6044 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hea.com.vol.T|sou.T_in",fileNamePrefix="Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 65.77 kB / 0.9515 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4511, allocations: 169.9 MB / 1.117 GB, free: 2.617 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 1.34/1.791, allocations: 272 MB / 1.383 GB, free: 8.211 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0422/1.834, allocations: 25.31 MB / 1.408 GB, free: 14.83 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004839/1.838, allocations: 107.2 kB / 1.408 GB, free: 14.73 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.007977/1.846, allocations: 2.239 MB / 1.41 GB, free: 12.48 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01166/1.858, allocations: 3.202 MB / 1.413 GB, free: 9.27 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009427/1.868, allocations: 2.856 MB / 1.416 GB, free: 6.426 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01565/1.883, allocations: 8.271 MB / 1.424 GB, free: 14.14 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003129/1.886, allocations: 1.349 MB / 1.425 GB, free: 12.76 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006622/1.893, allocations: 2.379 MB / 1.428 GB, free: 10.37 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/1.897, allocations: 1.337 MB / 1.429 GB, free: 9.039 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.000443/1.897, allocations: 200 kB / 1.429 GB, free: 8.844 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006884/1.904, allocations: 2.365 MB / 1.431 GB, free: 6.473 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001185/1.905, allocations: 0.7475 MB / 1.432 GB, free: 5.723 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/1.907, allocations: 0.9487 MB / 1.433 GB, free: 4.77 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/1.917, allocations: 4.536 MB / 1.438 GB, free: 224 kB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 1.239e-05/1.917, allocations: 0 / 1.438 GB, free: 224 kB / 1.264 GB Notification: Performance of FrontEnd: time 3.426e-06/1.917, allocations: 0 / 1.438 GB, free: 224 kB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000107/1.917, allocations: 3.938 kB / 1.438 GB, free: 220 kB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.007372/1.925, allocations: 2.688 MB / 1.44 GB, free: 13.46 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.925, allocations: 12.03 kB / 1.44 GB, free: 13.45 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/1.929, allocations: 0.7313 MB / 1.441 GB, free: 12.72 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01212/1.941, allocations: 5.769 MB / 1.447 GB, free: 6.887 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/1.942, allocations: 90.19 kB / 1.447 GB, free: 6.797 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/1.942, allocations: 108 kB / 1.447 GB, free: 6.691 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/1.945, allocations: 1.565 MB / 1.448 GB, free: 4.953 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/1.945, allocations: 7.938 kB / 1.448 GB, free: 4.945 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.945, allocations: 48 kB / 1.448 GB, free: 4.898 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.894e-05/1.945, allocations: 38 kB / 1.448 GB, free: 4.859 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/1.948, allocations: 0.9717 MB / 1.449 GB, free: 3.887 MB / 1.279 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.01016/1.958, allocations: 6.225 MB / 1.455 GB, free: 13.45 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000969/1.959, allocations: 286 kB / 1.456 GB, free: 13.17 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/1.959, allocations: 112.8 kB / 1.456 GB, free: 13.05 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/1.959, allocations: 35.98 kB / 1.456 GB, free: 13.02 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/1.959, allocations: 30.56 kB / 1.456 GB, free: 12.98 MB / 1.295 GB Notification: Performance of pre-optimization done (n=18): time 2.766e-06/1.959, allocations: 0 / 1.456 GB, free: 12.98 MB / 1.295 GB Notification: Performance of matching and sorting (n=18): time 0.001761/1.961, allocations: 0.5142 MB / 1.456 GB, free: 12.46 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/1.961, allocations: 55.41 kB / 1.456 GB, free: 12.39 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00334/1.965, allocations: 1.841 MB / 1.458 GB, free: 10.52 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 6.917e-05/1.965, allocations: 33.7 kB / 1.458 GB, free: 10.48 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001086/1.966, allocations: 1.061 MB / 1.459 GB, free: 9.406 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 9.19e-05/1.966, allocations: 75.41 kB / 1.459 GB, free: 9.332 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/1.966, allocations: 170.5 kB / 1.459 GB, free: 9.16 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001917/1.966, allocations: 337.9 kB / 1.46 GB, free: 8.824 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/1.967, allocations: 240.7 kB / 1.46 GB, free: 8.586 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/1.968, allocations: 0.7507 MB / 1.461 GB, free: 7.605 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/1.97, allocations: 0.8394 MB / 1.462 GB, free: 6.574 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/1.97, allocations: 8 kB / 1.462 GB, free: 6.566 MB / 1.295 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00244/1.972, allocations: 0.9861 MB / 1.463 GB, free: 5.574 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/1.972, allocations: 12 kB / 1.463 GB, free: 5.562 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.972, allocations: 15.94 kB / 1.463 GB, free: 5.547 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-05/1.972, allocations: 20.75 kB / 1.463 GB, free: 5.527 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007727/1.973, allocations: 195.7 kB / 1.463 GB, free: 5.336 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.703e-05/1.973, allocations: 27.88 kB / 1.463 GB, free: 5.309 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/1.974, allocations: 143.3 kB / 1.463 GB, free: 5.168 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.944e-05/1.975, allocations: 51.92 kB / 1.463 GB, free: 5.117 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00173/1.976, allocations: 0.7205 MB / 1.464 GB, free: 4.391 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001056/1.977, allocations: 0.739 MB / 1.464 GB, free: 3.422 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001496/1.979, allocations: 0.8284 MB / 1.465 GB, free: 2.402 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.366e-05/1.979, allocations: 4.547 kB / 1.465 GB, free: 2.398 MB / 1.295 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.00224/1.981, allocations: 0.9771 MB / 1.466 GB, free: 1.414 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/1.981, allocations: 15.98 kB / 1.466 GB, free: 1.398 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.981, allocations: 12 kB / 1.466 GB, free: 1.387 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.981, allocations: 20 kB / 1.466 GB, free: 1.367 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007022/1.982, allocations: 187.9 kB / 1.466 GB, free: 1.184 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.616e-05/1.982, allocations: 33.8 kB / 1.466 GB, free: 1.152 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/1.983, allocations: 111.6 kB / 1.467 GB, free: 1.043 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.475e-05/1.983, allocations: 44 kB / 1.467 GB, free: 1 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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.0003184/1.983, allocations: 239.8 kB / 1.467 GB, free: 0.7578 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/1.984, allocations: 187.6 kB / 1.467 GB, free: 0.5742 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000526/1.984, allocations: 161 kB / 1.467 GB, free: 420 kB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.984, allocations: 4 kB / 1.467 GB, free: 416 kB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.984, allocations: 0 / 1.467 GB, free: 416 kB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/1.984, allocations: 3.984 kB / 1.467 GB, free: 412 kB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/1.988, allocations: 1.6 MB / 1.469 GB, free: 14.7 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.988, allocations: 8.031 kB / 1.469 GB, free: 14.7 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002804/1.988, allocations: 47.47 kB / 1.469 GB, free: 14.65 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/1.988, allocations: 8 kB / 1.469 GB, free: 14.64 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/1.988, allocations: 11.98 kB / 1.469 GB, free: 14.63 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/1.988, allocations: 8 kB / 1.469 GB, free: 14.62 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.988, allocations: 4 kB / 1.469 GB, free: 14.62 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/1.989, allocations: 0.5569 MB / 1.469 GB, free: 13.99 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/1.989, allocations: 206.8 kB / 1.47 GB, free: 13.79 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/1.989, allocations: 11.98 kB / 1.47 GB, free: 13.78 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/1.99, allocations: 47.95 kB / 1.47 GB, free: 13.73 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.702e-05/1.99, allocations: 23.86 kB / 1.47 GB, free: 13.71 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/1.99, allocations: 15.98 kB / 1.47 GB, free: 13.69 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002116/1.992, allocations: 1.254 MB / 1.471 GB, free: 12.42 MB / 1.311 GB Notification: Performance of sort global known variables: time 1.1e-07/1.992, allocations: 0 / 1.471 GB, free: 12.42 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.002337/1.995, allocations: 0.7483 MB / 1.472 GB, free: 11.67 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.0005331/1.995, allocations: 245.3 kB / 1.472 GB, free: 11.42 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.002326/1.998, allocations: 0.8477 MB / 1.473 GB, free: 10.58 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/1.998, allocations: 128 / 1.473 GB, free: 10.58 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0003396/1.998, allocations: 124.6 kB / 1.473 GB, free: 10.46 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/2.001, allocations: 0.9296 MB / 1.474 GB, free: 9.562 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005633/2.007, allocations: 3.01 MB / 1.477 GB, free: 6.461 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/2.008, allocations: 0.9032 MB / 1.478 GB, free: 5.52 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001612/2.01, allocations: 391.5 kB / 1.478 GB, free: 5.133 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/2.01, allocations: 112.5 kB / 1.478 GB, free: 5.023 MB / 1.311 GB Notification: Performance of SimCode: time 1.152e-06/2.01, allocations: 0 / 1.478 GB, free: 5.023 MB / 1.311 GB Notification: Performance of Templates: time 0.0626/2.072, allocations: 31.32 MB / 1.509 GB, free: 6.426 MB / 1.342 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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: 11.73448466102127]