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.009198/0.009198, allocations: 101.7 kB / 15.73 MB, free: 6.477 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.001709/0.001709, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.57/1.57, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.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.547/2.547, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 66.77 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3684, allocations: 140.4 MB / 1.088 GB, free: 1.625 MB / 0.8419 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 1.293/1.661, allocations: 312.3 MB / 1.393 GB, free: 5.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04634/1.708, allocations: 27.52 MB / 1.42 GB, free: 3.059 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005543/1.713, allocations: 83.75 kB / 1.42 GB, free: 3.031 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005907/1.719, allocations: 1.63 MB / 1.421 GB, free: 1.707 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01246/1.732, allocations: 3.125 MB / 1.424 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.009387/1.741, allocations: 2.666 MB / 1.427 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00953/1.751, allocations: 4.63 MB / 1.432 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004738/1.755, allocations: 2.049 MB / 1.434 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007661/1.763, allocations: 2.44 MB / 1.436 GB, free: 7.797 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00447/1.768, allocations: 1.46 MB / 1.437 GB, free: 6.883 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001091/1.769, allocations: 242.8 kB / 1.438 GB, free: 6.883 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009512/1.778, allocations: 3.44 MB / 1.441 GB, free: 4.988 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001712/1.78, allocations: 0.6814 MB / 1.442 GB, free: 4.473 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004752/1.785, allocations: 1.196 MB / 1.443 GB, free: 3.648 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01409/1.799, allocations: 4.728 MB / 1.447 GB, free: 15.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.799, allocations: 0 / 1.447 GB, free: 15.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.335e-06/1.799, allocations: 4 kB / 1.447 GB, free: 15.4 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001398/1.799, allocations: 4 kB / 1.447 GB, free: 15.4 MB / 1.076 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.007785/1.807, allocations: 2.496 MB / 1.45 GB, free: 12.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.807, allocations: 15.97 kB / 1.45 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006223/1.813, allocations: 0.8911 MB / 1.451 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005728/1.819, allocations: 2.108 MB / 1.453 GB, free: 9.762 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001425/1.819, allocations: 106.6 kB / 1.453 GB, free: 9.656 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005258/1.82, allocations: 135.9 kB / 1.453 GB, free: 9.523 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004718/1.825, allocations: 1.67 MB / 1.455 GB, free: 7.789 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/1.825, allocations: 7.938 kB / 1.455 GB, free: 7.781 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/1.825, allocations: 52 kB / 1.455 GB, free: 7.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.024e-05/1.825, allocations: 54.48 kB / 1.455 GB, free: 7.676 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00435/1.829, allocations: 1.524 MB / 1.456 GB, free: 6.145 MB / 1.076 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.01354/1.843, allocations: 7.546 MB / 1.464 GB, free: 14.08 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/1.846, allocations: 0.7092 MB / 1.464 GB, free: 13.36 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008814/1.847, allocations: 312.6 kB / 1.465 GB, free: 13.05 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003375/1.847, allocations: 190.2 kB / 1.465 GB, free: 12.83 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/1.847, allocations: 34.56 kB / 1.465 GB, free: 12.79 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 2.795e-06/1.847, allocations: 0 / 1.465 GB, free: 12.79 MB / 1.092 GB Notification: Performance of matching and sorting (n=36): time 0.00417/1.851, allocations: 1.365 MB / 1.466 GB, free: 11.33 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/1.851, allocations: 55.41 kB / 1.466 GB, free: 11.27 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/1.855, allocations: 1.852 MB / 1.468 GB, free: 9.371 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/1.856, allocations: 38.25 kB / 1.468 GB, free: 9.328 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008106/1.856, allocations: 0.8232 MB / 1.469 GB, free: 8.496 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/1.857, allocations: 126.1 kB / 1.469 GB, free: 8.371 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/1.857, allocations: 150.2 kB / 1.469 GB, free: 8.219 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.857, allocations: 326 kB / 1.469 GB, free: 7.895 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/1.858, allocations: 419.2 kB / 1.47 GB, free: 7.484 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/1.86, allocations: 0.6415 MB / 1.47 GB, free: 6.734 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002518/1.863, allocations: 0.8704 MB / 1.471 GB, free: 5.777 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/1.863, allocations: 4 kB / 1.471 GB, free: 5.773 MB / 1.092 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00386/1.866, allocations: 1.389 MB / 1.473 GB, free: 4.332 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.816e-05/1.866, allocations: 8 kB / 1.473 GB, free: 4.324 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/1.866, allocations: 4.344 kB / 1.473 GB, free: 4.32 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/1.867, allocations: 69.62 kB / 1.473 GB, free: 4.246 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/1.868, allocations: 211.6 kB / 1.473 GB, free: 4.039 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/1.87, allocations: 3.143 MB / 1.476 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.873, allocations: 263.2 kB / 1.476 GB, free: 372 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.763e-05/1.873, allocations: 35.97 kB / 1.476 GB, free: 336 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002063/1.875, allocations: 0.7589 MB / 1.477 GB, free: 15.56 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001392/1.876, allocations: 0.6019 MB / 1.478 GB, free: 14.86 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00192/1.878, allocations: 0.8159 MB / 1.478 GB, free: 13.95 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.957e-06/1.878, allocations: 4 kB / 1.478 GB, free: 13.95 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003568/1.882, allocations: 1.323 MB / 1.48 GB, free: 12.57 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.882, allocations: 8 kB / 1.48 GB, free: 12.57 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.882, allocations: 8 kB / 1.48 GB, free: 12.56 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002059/1.882, allocations: 61.98 kB / 1.48 GB, free: 12.49 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.883, allocations: 199.7 kB / 1.48 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/1.886, allocations: 3.137 MB / 1.483 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002192/1.888, allocations: 196.1 kB / 1.483 GB, free: 8.688 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/1.888, allocations: 31.98 kB / 1.483 GB, free: 8.656 MB / 1.107 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.000343/1.888, allocations: 224 kB / 1.484 GB, free: 8.43 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/1.889, allocations: 170 kB / 1.484 GB, free: 8.262 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/1.891, allocations: 0.9646 MB / 1.485 GB, free: 7.242 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.891, allocations: 4 kB / 1.485 GB, free: 7.238 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.891, allocations: 3.938 kB / 1.485 GB, free: 7.234 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.891, allocations: 8 kB / 1.485 GB, free: 7.227 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/1.895, allocations: 2.149 MB / 1.487 GB, free: 4.957 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.895, allocations: 0 / 1.487 GB, free: 4.957 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/1.896, allocations: 108 kB / 1.487 GB, free: 4.852 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001473/1.896, allocations: 45.7 kB / 1.487 GB, free: 4.801 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.613e-05/1.896, allocations: 11.98 kB / 1.487 GB, free: 4.789 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/1.898, allocations: 3.133 MB / 1.49 GB, free: 1.383 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.898, allocations: 3.938 kB / 1.49 GB, free: 1.379 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/1.901, allocations: 1.033 MB / 1.491 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007506/1.902, allocations: 326.8 kB / 1.491 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/1.902, allocations: 15.94 kB / 1.491 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.903, allocations: 91.84 kB / 1.491 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/1.903, allocations: 23.97 kB / 1.491 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-05/1.903, allocations: 23.97 kB / 1.491 GB, free: 15.78 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002394/1.905, allocations: 1.309 MB / 1.493 GB, free: 14.45 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.4e-07/1.906, allocations: 4 kB / 1.493 GB, free: 14.44 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002494/1.908, allocations: 0.7563 MB / 1.493 GB, free: 13.68 MB / 1.123 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.000704/1.909, allocations: 307 kB / 1.494 GB, free: 13.37 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004522/1.913, allocations: 1.732 MB / 1.495 GB, free: 11.59 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.913, allocations: 0 / 1.495 GB, free: 11.59 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.914, allocations: 0.5099 MB / 1.496 GB, free: 11.05 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004387/1.919, allocations: 1.029 MB / 1.497 GB, free: 10.04 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0053/1.924, allocations: 2.678 MB / 1.5 GB, free: 7.312 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009831/1.925, allocations: 1.348 MB / 1.501 GB, free: 5.938 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001867/1.927, allocations: 379 kB / 1.501 GB, free: 5.562 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/1.927, allocations: 123.4 kB / 1.501 GB, free: 5.441 MB / 1.123 GB Notification: Performance of SimCode: time 1.693e-06/1.927, allocations: 0 / 1.501 GB, free: 5.441 MB / 1.123 GB Notification: Performance of Templates: time 0.06595/1.993, allocations: 35.69 MB / 1.536 GB, free: 2.117 MB / 1.154 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches