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.001793/0.001793, allocations: 117.9 kB / 16.42 MB, free: 6.5 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.002446/0.002446, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.15 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.236/2.236, allocations: 390.3 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 67.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9449/0.9465, allocations: 140.4 MB / 1.089 GB, free: 5.543 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.38/1.327, allocations: 312.3 MB / 1.394 GB, free: 4.988 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03979/1.366, allocations: 27.54 MB / 1.42 GB, free: 9.367 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005001/1.371, allocations: 83.56 kB / 1.421 GB, free: 9.285 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005464/1.377, allocations: 1.624 MB / 1.422 GB, free: 7.652 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009663/1.387, allocations: 3.122 MB / 1.425 GB, free: 4.52 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00748/1.394, allocations: 2.655 MB / 1.428 GB, free: 1.871 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.009331/1.403, allocations: 4.633 MB / 1.432 GB, free: 13.22 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004355/1.408, allocations: 2.048 MB / 1.434 GB, free: 11.13 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006659/1.415, allocations: 2.441 MB / 1.437 GB, free: 8.68 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/1.418, allocations: 1.457 MB / 1.438 GB, free: 7.223 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009104/1.419, allocations: 244 kB / 1.438 GB, free: 6.984 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008613/1.428, allocations: 3.442 MB / 1.442 GB, free: 3.535 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.002022/1.43, allocations: 0.6855 MB / 1.442 GB, free: 2.848 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003567/1.433, allocations: 1.186 MB / 1.444 GB, free: 1.656 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/1.446, allocations: 4.741 MB / 1.448 GB, free: 12.9 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.446, allocations: 0 / 1.448 GB, free: 12.9 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.474e-06/1.446, allocations: 4 kB / 1.448 GB, free: 12.9 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001251/1.446, allocations: 0 / 1.448 GB, free: 12.9 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.006516/1.453, allocations: 2.501 MB / 1.451 GB, free: 10.33 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.453, allocations: 8.031 kB / 1.451 GB, free: 10.32 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006119/1.459, allocations: 0.8911 MB / 1.451 GB, free: 9.43 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004974/1.464, allocations: 2.124 MB / 1.454 GB, free: 7.25 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/1.464, allocations: 102.6 kB / 1.454 GB, free: 7.148 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003981/1.465, allocations: 128 kB / 1.454 GB, free: 7.023 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/1.469, allocations: 1.67 MB / 1.455 GB, free: 5.289 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/1.469, allocations: 0 / 1.455 GB, free: 5.289 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002051/1.469, allocations: 52 kB / 1.455 GB, free: 5.238 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/1.469, allocations: 50.5 kB / 1.455 GB, free: 5.188 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004595/1.474, allocations: 1.532 MB / 1.457 GB, free: 3.648 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.013/1.487, allocations: 7.553 MB / 1.464 GB, free: 11.57 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/1.49, allocations: 0.7115 MB / 1.465 GB, free: 10.86 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/1.491, allocations: 304.7 kB / 1.465 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/1.491, allocations: 198.7 kB / 1.466 GB, free: 10.32 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.584e-05/1.491, allocations: 38.56 kB / 1.466 GB, free: 10.28 MB / 1.201 GB Notification: Performance of pre-optimization done (n=36): time 3.346e-06/1.491, allocations: 0 / 1.466 GB, free: 10.28 MB / 1.201 GB Notification: Performance of matching and sorting (n=36): time 0.003921/1.495, allocations: 1.365 MB / 1.467 GB, free: 8.824 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/1.495, allocations: 59.41 kB / 1.467 GB, free: 8.754 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003773/1.499, allocations: 1.852 MB / 1.469 GB, free: 6.859 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/1.499, allocations: 33.7 kB / 1.469 GB, free: 6.82 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008875/1.5, allocations: 0.8193 MB / 1.47 GB, free: 5.992 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/1.5, allocations: 130.1 kB / 1.47 GB, free: 5.863 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/1.501, allocations: 146.2 kB / 1.47 GB, free: 5.715 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.501, allocations: 326 kB / 1.47 GB, free: 5.391 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/1.502, allocations: 419.2 kB / 1.471 GB, free: 4.977 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/1.504, allocations: 0.6409 MB / 1.471 GB, free: 4.23 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002415/1.506, allocations: 0.8743 MB / 1.472 GB, free: 3.27 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/1.506, allocations: 3.938 kB / 1.472 GB, free: 3.266 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00385/1.51, allocations: 1.393 MB / 1.473 GB, free: 1.82 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/1.51, allocations: 8 kB / 1.473 GB, free: 1.812 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/1.51, allocations: 12.28 kB / 1.473 GB, free: 1.801 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/1.51, allocations: 61.69 kB / 1.473 GB, free: 1.734 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.512, allocations: 207.7 kB / 1.474 GB, free: 1.531 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/1.514, allocations: 3.133 MB / 1.477 GB, free: 14.11 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/1.516, allocations: 267.1 kB / 1.477 GB, free: 13.85 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/1.516, allocations: 39.97 kB / 1.477 GB, free: 13.81 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002135/1.519, allocations: 0.7589 MB / 1.478 GB, free: 13.05 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001402/1.52, allocations: 0.6067 MB / 1.478 GB, free: 12.34 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002011/1.522, allocations: 0.8161 MB / 1.479 GB, free: 11.43 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.316e-06/1.522, allocations: 4 kB / 1.479 GB, free: 11.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003423/1.526, allocations: 1.315 MB / 1.48 GB, free: 10.06 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.526, allocations: 8 kB / 1.48 GB, free: 10.05 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.526, allocations: 11.98 kB / 1.48 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/1.526, allocations: 66.08 kB / 1.481 GB, free: 9.973 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.527, allocations: 199.7 kB / 1.481 GB, free: 9.777 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/1.529, allocations: 3.128 MB / 1.484 GB, free: 6.371 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/1.531, allocations: 208.1 kB / 1.484 GB, free: 6.172 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/1.531, allocations: 39.91 kB / 1.484 GB, free: 6.133 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.000287/1.531, allocations: 216.1 kB / 1.484 GB, free: 5.914 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/1.532, allocations: 173.8 kB / 1.484 GB, free: 5.742 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/1.534, allocations: 0.9561 MB / 1.485 GB, free: 4.73 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/1.534, allocations: 0 / 1.485 GB, free: 4.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/1.534, allocations: 0 / 1.485 GB, free: 4.73 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008842/1.535, allocations: 330.7 kB / 1.486 GB, free: 4.387 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003904/1.536, allocations: 4 kB / 1.486 GB, free: 4.383 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/1.537, allocations: 99.89 kB / 1.486 GB, free: 4.285 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/1.537, allocations: 19.97 kB / 1.486 GB, free: 4.266 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002503/1.54, allocations: 0.7401 MB / 1.486 GB, free: 3.512 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002923/1.543, allocations: 1.188 MB / 1.488 GB, free: 2.301 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007746/1.543, allocations: 255.9 kB / 1.488 GB, free: 2.051 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003047/1.546, allocations: 1.313 MB / 1.489 GB, free: 0.7148 MB / 1.217 GB Notification: Performance of Backend: time 1.272e-06/1.546, allocations: 0 / 1.489 GB, free: 0.7148 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006813/1.553, allocations: 2.192 MB / 1.491 GB, free: 14.46 MB / 1.232 GB Notification: Performance of SimCode: time 0.00856/1.562, allocations: 3.948 MB / 1.495 GB, free: 10.48 MB / 1.232 GB Notification: Performance of Templates: time 0.08145/1.643, allocations: 46.53 MB / 1.541 GB, free: 12.34 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