Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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,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_9_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_9_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.001696/0.001696, allocations: 104.6 kB / 16.41 MB, free: 6.508 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.002057/0.002057, allocations: 189.7 kB / 17.34 MB, free: 5.738 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.992/0.9934, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter floMac.com.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3934/1.387, allocations: 312.3 MB / 1.394 GB, free: 4.992 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03873/1.426, allocations: 27.53 MB / 1.42 GB, free: 9.379 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003481/1.429, allocations: 83.56 kB / 1.421 GB, free: 9.297 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004866/1.434, allocations: 1.577 MB / 1.422 GB, free: 7.711 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009029/1.443, allocations: 3.014 MB / 1.425 GB, free: 4.684 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007222/1.45, allocations: 2.628 MB / 1.428 GB, free: 2.062 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.00754/1.458, allocations: 4.629 MB / 1.432 GB, free: 13.42 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004117/1.462, allocations: 2.041 MB / 1.434 GB, free: 11.33 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005761/1.468, allocations: 2.414 MB / 1.436 GB, free: 8.91 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003352/1.471, allocations: 1.458 MB / 1.438 GB, free: 7.453 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007856/1.472, allocations: 247.9 kB / 1.438 GB, free: 7.211 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007572/1.48, allocations: 3.422 MB / 1.441 GB, free: 3.781 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001254/1.481, allocations: 0.6933 MB / 1.442 GB, free: 3.086 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002763/1.484, allocations: 1.194 MB / 1.443 GB, free: 1.887 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01009/1.494, allocations: 4.729 MB / 1.448 GB, free: 13.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/1.494, allocations: 4 kB / 1.448 GB, free: 13.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.455e-06/1.494, allocations: 0 / 1.448 GB, free: 13.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001291/1.494, allocations: 0 / 1.448 GB, free: 13.14 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006394/1.5, allocations: 2.496 MB / 1.45 GB, free: 10.58 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.5, allocations: 12.03 kB / 1.45 GB, free: 10.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00637/1.507, allocations: 0.8872 MB / 1.451 GB, free: 9.676 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005443/1.512, allocations: 2.124 MB / 1.453 GB, free: 7.496 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/1.513, allocations: 106.6 kB / 1.453 GB, free: 7.391 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/1.513, allocations: 128 kB / 1.454 GB, free: 7.266 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004798/1.518, allocations: 1.666 MB / 1.455 GB, free: 5.535 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/1.518, allocations: 7.938 kB / 1.455 GB, free: 5.527 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/1.518, allocations: 52 kB / 1.455 GB, free: 5.477 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/1.518, allocations: 46.5 kB / 1.455 GB, free: 5.43 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004356/1.523, allocations: 1.528 MB / 1.457 GB, free: 3.895 MB / 1.186 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.01231/1.535, allocations: 7.557 MB / 1.464 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002877/1.538, allocations: 0.707 MB / 1.465 GB, free: 11.1 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008791/1.539, allocations: 313.3 kB / 1.465 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002866/1.539, allocations: 190.7 kB / 1.465 GB, free: 10.57 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/1.539, allocations: 38.55 kB / 1.465 GB, free: 10.52 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 2.655e-06/1.539, allocations: 4 kB / 1.465 GB, free: 10.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=36): time 0.003852/1.543, allocations: 1.353 MB / 1.467 GB, free: 9.078 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/1.543, allocations: 63.39 kB / 1.467 GB, free: 9.004 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/1.547, allocations: 1.844 MB / 1.469 GB, free: 7.117 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/1.547, allocations: 37.7 kB / 1.469 GB, free: 7.074 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/1.548, allocations: 0.8232 MB / 1.469 GB, free: 6.242 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/1.548, allocations: 130.1 kB / 1.469 GB, free: 6.113 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003446/1.548, allocations: 142.2 kB / 1.47 GB, free: 5.969 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.549, allocations: 330 kB / 1.47 GB, free: 5.641 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/1.55, allocations: 427.1 kB / 1.47 GB, free: 5.219 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/1.552, allocations: 0.6409 MB / 1.471 GB, free: 4.473 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/1.554, allocations: 0.8743 MB / 1.472 GB, free: 3.512 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.554, allocations: 3.938 kB / 1.472 GB, free: 3.508 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003709/1.558, allocations: 1.389 MB / 1.473 GB, free: 2.066 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/1.558, allocations: 10.34 kB / 1.473 GB, free: 2.059 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/1.558, allocations: 15.88 kB / 1.473 GB, free: 2.043 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002189/1.558, allocations: 53.69 kB / 1.473 GB, free: 1.984 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.559, allocations: 215.9 kB / 1.473 GB, free: 1.773 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.561, allocations: 3.133 MB / 1.477 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002149/1.563, allocations: 267.1 kB / 1.477 GB, free: 14.1 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.701e-05/1.564, allocations: 35.98 kB / 1.477 GB, free: 14.06 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001898/1.565, allocations: 0.7628 MB / 1.478 GB, free: 13.3 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001354/1.567, allocations: 0.6068 MB / 1.478 GB, free: 12.58 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001934/1.569, allocations: 0.8161 MB / 1.479 GB, free: 11.68 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/1.569, allocations: 4 kB / 1.479 GB, free: 11.68 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003331/1.572, allocations: 1.315 MB / 1.48 GB, free: 10.31 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.572, allocations: 12 kB / 1.48 GB, free: 10.3 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.572, allocations: 8 kB / 1.48 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001435/1.572, allocations: 57.69 kB / 1.48 GB, free: 10.23 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.573, allocations: 191.7 kB / 1.48 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/1.576, allocations: 3.148 MB / 1.484 GB, free: 6.613 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/1.578, allocations: 196.1 kB / 1.484 GB, free: 6.422 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-05/1.578, allocations: 31.98 kB / 1.484 GB, free: 6.391 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002855/1.578, allocations: 216.1 kB / 1.484 GB, free: 6.172 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/1.578, allocations: 177.7 kB / 1.484 GB, free: 5.996 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/1.581, allocations: 0.9601 MB / 1.485 GB, free: 4.98 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.581, allocations: 8 kB / 1.485 GB, free: 4.973 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.581, allocations: 7.938 kB / 1.485 GB, free: 4.965 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.581, allocations: 3.984 kB / 1.485 GB, free: 4.961 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/1.585, allocations: 2.133 MB / 1.487 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.585, allocations: 0 / 1.487 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007138/1.586, allocations: 108 kB / 1.487 GB, free: 2.602 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/1.586, allocations: 53.69 kB / 1.487 GB, free: 2.543 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/1.586, allocations: 11.94 kB / 1.487 GB, free: 2.531 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00228/1.588, allocations: 3.132 MB / 1.49 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.588, allocations: 0 / 1.49 GB, free: 15.12 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/1.59, allocations: 1.029 MB / 1.491 GB, free: 14.02 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/1.591, allocations: 330.7 kB / 1.492 GB, free: 13.67 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003511/1.591, allocations: 8 kB / 1.492 GB, free: 13.66 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.593, allocations: 99.89 kB / 1.492 GB, free: 13.57 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/1.593, allocations: 23.91 kB / 1.492 GB, free: 13.54 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/1.593, allocations: 23.98 kB / 1.492 GB, free: 13.52 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002592/1.595, allocations: 1.313 MB / 1.493 GB, free: 12.18 MB / 1.232 GB Notification: Performance of sort global known variables: time 2.6e-07/1.595, allocations: 0 / 1.493 GB, free: 12.18 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002569/1.598, allocations: 0.7563 MB / 1.494 GB, free: 11.43 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0008463/1.599, allocations: 312.3 kB / 1.494 GB, free: 11.11 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00456/1.603, allocations: 1.72 MB / 1.496 GB, free: 9.34 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.604, allocations: 0 / 1.496 GB, free: 9.34 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/1.605, allocations: 0.5101 MB / 1.496 GB, free: 8.805 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004999/1.61, allocations: 1.042 MB / 1.497 GB, free: 7.777 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/1.616, allocations: 2.764 MB / 1.5 GB, free: 4.961 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.617, allocations: 1.344 MB / 1.501 GB, free: 3.59 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005636/1.617, allocations: 139.4 kB / 1.502 GB, free: 3.453 MB / 1.232 GB Notification: Performance of SimCode: time 1.162e-06/1.617, allocations: 0 / 1.502 GB, free: 3.453 MB / 1.232 GB Notification: Performance of Templates: time 0.05854/1.676, allocations: 48.92 MB / 1.549 GB, free: 2.707 MB / 1.279 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches