Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001525/0.001525, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.833/2.833, allocations: 469.8 MB / 0.743 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 65.19 kB / 0.9092 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3428, allocations: 159.1 MB / 1.065 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8977/1.241, allocations: 312.7 MB / 1.37 GB, free: 15.67 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.04109/1.282, allocations: 29.39 MB / 1.399 GB, free: 2.199 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003665/1.285, allocations: 75.62 kB / 1.399 GB, free: 2.125 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.01098/1.296, allocations: 4.884 MB / 1.404 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.009158/1.306, allocations: 3.037 MB / 1.406 GB, free: 10.18 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00714/1.313, allocations: 2.622 MB / 1.409 GB, free: 7.566 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.01208/1.325, allocations: 7.408 MB / 1.416 GB, free: 144 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003521/1.328, allocations: 2.067 MB / 1.418 GB, free: 14.03 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005594/1.334, allocations: 2.359 MB / 1.421 GB, free: 11.66 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00349/1.338, allocations: 1.472 MB / 1.422 GB, free: 10.2 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0005752/1.338, allocations: 244 kB / 1.422 GB, free: 9.957 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007827/1.346, allocations: 3.598 MB / 1.426 GB, free: 6.352 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001294/1.347, allocations: 0.8141 MB / 1.427 GB, free: 5.535 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002115/1.349, allocations: 1.384 MB / 1.428 GB, free: 4.145 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009909/1.359, allocations: 5.314 MB / 1.433 GB, free: 14.82 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.359, allocations: 4 kB / 1.433 GB, free: 14.81 MB / 1.154 GB Notification: Performance of FrontEnd: time 4.96e-06/1.359, allocations: 3.938 kB / 1.433 GB, free: 14.81 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.966e-05/1.359, allocations: 3.938 kB / 1.433 GB, free: 14.8 MB / 1.154 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.00596/1.365, allocations: 2.91 MB / 1.436 GB, free: 11.82 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/1.366, allocations: 8.031 kB / 1.436 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006178/1.372, allocations: 0.9413 MB / 1.437 GB, free: 10.87 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.383, allocations: 5.629 MB / 1.442 GB, free: 5.188 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004215/1.383, allocations: 162.5 kB / 1.443 GB, free: 5.027 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00033/1.384, allocations: 132 kB / 1.443 GB, free: 4.898 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00341/1.387, allocations: 1.593 MB / 1.444 GB, free: 3.238 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/1.387, allocations: 7.938 kB / 1.444 GB, free: 3.23 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/1.387, allocations: 52 kB / 1.444 GB, free: 3.18 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-05/1.387, allocations: 50.5 kB / 1.444 GB, free: 3.129 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/1.391, allocations: 1.333 MB / 1.446 GB, free: 1.789 MB / 1.154 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.01207/1.403, allocations: 7.688 MB / 1.453 GB, free: 9.574 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/1.405, allocations: 0.6638 MB / 1.454 GB, free: 8.883 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/1.406, allocations: 266 kB / 1.454 GB, free: 8.621 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000328/1.406, allocations: 194.2 kB / 1.454 GB, free: 8.395 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/1.406, allocations: 42.5 kB / 1.454 GB, free: 8.344 MB / 1.17 GB Notification: Performance of pre-optimization done (n=35): time 2.946e-06/1.406, allocations: 4 kB / 1.454 GB, free: 8.34 MB / 1.17 GB Notification: Performance of matching and sorting (n=35): time 0.003158/1.409, allocations: 1.038 MB / 1.455 GB, free: 7.254 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/1.409, allocations: 63.28 kB / 1.455 GB, free: 7.18 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004117/1.414, allocations: 2.36 MB / 1.458 GB, free: 4.801 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/1.414, allocations: 41.64 kB / 1.458 GB, free: 4.754 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.415, allocations: 0.9613 MB / 1.459 GB, free: 3.781 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/1.415, allocations: 130.1 kB / 1.459 GB, free: 3.652 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000435/1.415, allocations: 258.3 kB / 1.459 GB, free: 3.395 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.416, allocations: 353.9 kB / 1.459 GB, free: 3.043 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.417, allocations: 0.5243 MB / 1.46 GB, free: 2.512 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/1.418, allocations: 0.7895 MB / 1.461 GB, free: 1.609 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/1.421, allocations: 1.117 MB / 1.462 GB, free: 412 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/1.421, allocations: 4 kB / 1.462 GB, free: 408 kB / 1.17 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003963/1.425, allocations: 1.636 MB / 1.463 GB, free: 14.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/1.425, allocations: 10.34 kB / 1.463 GB, free: 14.72 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/1.425, allocations: 8 kB / 1.463 GB, free: 14.71 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001758/1.425, allocations: 36.84 kB / 1.463 GB, free: 14.68 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.426, allocations: 239.9 kB / 1.464 GB, free: 14.44 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/1.427, allocations: 1.576 MB / 1.465 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/1.43, allocations: 243.7 kB / 1.465 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.43, allocations: 51.91 kB / 1.465 GB, free: 12.43 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002258/1.432, allocations: 1.01 MB / 1.466 GB, free: 11.42 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00157/1.434, allocations: 0.7856 MB / 1.467 GB, free: 10.52 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002197/1.436, allocations: 1.109 MB / 1.468 GB, free: 9.312 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.199e-06/1.436, allocations: 4 kB / 1.468 GB, free: 9.309 MB / 1.186 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003927/1.44, allocations: 1.619 MB / 1.47 GB, free: 7.656 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/1.44, allocations: 8 kB / 1.47 GB, free: 7.648 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/1.44, allocations: 8 kB / 1.47 GB, free: 7.641 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001056/1.44, allocations: 33.22 kB / 1.47 GB, free: 7.605 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.441, allocations: 239.7 kB / 1.47 GB, free: 7.371 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/1.442, allocations: 1.572 MB / 1.472 GB, free: 5.66 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.445, allocations: 175.7 kB / 1.472 GB, free: 5.488 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/1.445, allocations: 43.98 kB / 1.472 GB, free: 5.445 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0003187/1.445, allocations: 224 kB / 1.472 GB, free: 5.219 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000406/1.445, allocations: 213.3 kB / 1.472 GB, free: 5.008 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/1.447, allocations: 0.7601 MB / 1.473 GB, free: 4.211 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/1.447, allocations: 4 kB / 1.473 GB, free: 4.207 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.447, allocations: 0 / 1.473 GB, free: 4.207 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.447, allocations: 7.922 kB / 1.473 GB, free: 4.199 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/1.452, allocations: 2.163 MB / 1.475 GB, free: 1.934 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.452, allocations: 4 kB / 1.475 GB, free: 1.93 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006447/1.453, allocations: 91.86 kB / 1.475 GB, free: 1.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/1.453, allocations: 33.06 kB / 1.475 GB, free: 1.805 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/1.453, allocations: 12 kB / 1.475 GB, free: 1.793 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/1.454, allocations: 1.552 MB / 1.477 GB, free: 104 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.454, allocations: 0 / 1.477 GB, free: 104 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/1.456, allocations: 0.893 MB / 1.478 GB, free: 15.15 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/1.457, allocations: 354.3 kB / 1.478 GB, free: 14.78 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/1.457, allocations: 8 kB / 1.478 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.458, allocations: 75.92 kB / 1.478 GB, free: 14.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/1.458, allocations: 31.84 kB / 1.478 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-05/1.458, allocations: 19.98 kB / 1.478 GB, free: 14.65 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003152/1.461, allocations: 1.639 MB / 1.48 GB, free: 13 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.7e-07/1.461, allocations: 4 kB / 1.48 GB, free: 13 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002694/1.464, allocations: 0.8969 MB / 1.481 GB, free: 12.1 MB / 1.201 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.001039/1.465, allocations: 459.2 kB / 1.481 GB, free: 11.64 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004336/1.47, allocations: 1.84 MB / 1.483 GB, free: 9.773 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.47, allocations: 0 / 1.483 GB, free: 9.773 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/1.47, allocations: 354.9 kB / 1.483 GB, free: 9.414 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/1.476, allocations: 1.252 MB / 1.484 GB, free: 8.199 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006688/1.483, allocations: 3.422 MB / 1.488 GB, free: 4.711 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001373/1.484, allocations: 1.537 MB / 1.489 GB, free: 3.141 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005479/1.485, allocations: 147.4 kB / 1.489 GB, free: 2.996 MB / 1.201 GB Notification: Performance of SimCode: time 1.263e-06/1.485, allocations: 0 / 1.489 GB, free: 2.996 MB / 1.201 GB Notification: Performance of Templates: time 0.07834/1.563, allocations: 47.13 MB / 1.535 GB, free: 4.059 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches