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.007355/0.007355, allocations: 98.64 kB / 15.73 MB, free: 6.449 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.001538/0.001538, allocations: 197.5 kB / 16.68 MB, free: 6.348 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.524/2.524, allocations: 390.2 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002538/0.002538, allocations: 62.59 kB / 0.9508 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4209, allocations: 140.4 MB / 1.088 GB, free: 1.473 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.308/1.729, allocations: 312.3 MB / 1.393 GB, free: 5.574 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04856/1.777, allocations: 27.54 MB / 1.42 GB, free: 3.078 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006137/1.784, allocations: 76.72 kB / 1.42 GB, free: 3.055 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006557/1.79, allocations: 1.633 MB / 1.421 GB, free: 1.73 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0126/1.803, allocations: 3.123 MB / 1.424 GB, free: 15.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0094/1.812, allocations: 2.652 MB / 1.427 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01151/1.824, allocations: 4.633 MB / 1.432 GB, free: 10.65 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005307/1.829, allocations: 2.052 MB / 1.434 GB, free: 9.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00769/1.837, allocations: 2.444 MB / 1.436 GB, free: 7.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004649/1.842, allocations: 1.449 MB / 1.437 GB, free: 6.918 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001116/1.843, allocations: 241.6 kB / 1.438 GB, free: 6.918 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009645/1.852, allocations: 3.442 MB / 1.441 GB, free: 5.023 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001914/1.854, allocations: 0.688 MB / 1.442 GB, free: 4.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003476/1.858, allocations: 1.198 MB / 1.443 GB, free: 3.676 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01308/1.871, allocations: 4.748 MB / 1.447 GB, free: 15.42 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/1.871, allocations: 0 / 1.447 GB, free: 15.42 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.305e-06/1.871, allocations: 0 / 1.447 GB, free: 15.42 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001509/1.871, allocations: 0 / 1.447 GB, free: 15.42 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.007747/1.879, allocations: 2.566 MB / 1.45 GB, free: 12.79 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/1.879, allocations: 8.031 kB / 1.45 GB, free: 12.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006723/1.886, allocations: 0.9079 MB / 1.451 GB, free: 11.87 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006447/1.892, allocations: 2.133 MB / 1.453 GB, free: 9.684 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/1.892, allocations: 102.6 kB / 1.453 GB, free: 9.582 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005021/1.893, allocations: 136 kB / 1.453 GB, free: 9.449 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004873/1.898, allocations: 1.67 MB / 1.455 GB, free: 7.715 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/1.898, allocations: 0 / 1.455 GB, free: 7.715 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002174/1.898, allocations: 55.98 kB / 1.455 GB, free: 7.66 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/1.898, allocations: 54.42 kB / 1.455 GB, free: 7.605 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004893/1.903, allocations: 1.536 MB / 1.456 GB, free: 6.062 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.917, allocations: 7.544 MB / 1.464 GB, free: 14 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/1.92, allocations: 0.7169 MB / 1.464 GB, free: 13.27 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009/1.921, allocations: 308.7 kB / 1.465 GB, free: 12.97 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003137/1.921, allocations: 198.7 kB / 1.465 GB, free: 12.74 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/1.921, allocations: 34.56 kB / 1.465 GB, free: 12.7 MB / 1.092 GB Notification: Performance of pre-optimization done (n=36): time 2.394e-06/1.921, allocations: 0 / 1.465 GB, free: 12.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=36): time 0.004052/1.925, allocations: 1.37 MB / 1.466 GB, free: 11.24 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/1.925, allocations: 55.41 kB / 1.466 GB, free: 11.17 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/1.929, allocations: 1.86 MB / 1.468 GB, free: 9.27 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/1.929, allocations: 37.7 kB / 1.468 GB, free: 9.227 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/1.93, allocations: 0.8282 MB / 1.469 GB, free: 8.391 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/1.93, allocations: 126.9 kB / 1.469 GB, free: 8.266 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003467/1.931, allocations: 154.2 kB / 1.469 GB, free: 8.109 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.931, allocations: 330 kB / 1.47 GB, free: 7.781 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/1.932, allocations: 423.2 kB / 1.47 GB, free: 7.367 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/1.934, allocations: 0.6376 MB / 1.471 GB, free: 6.621 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002634/1.937, allocations: 0.8743 MB / 1.472 GB, free: 5.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.528e-05/1.937, allocations: 4 kB / 1.472 GB, free: 5.656 MB / 1.092 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004572/1.941, allocations: 1.394 MB / 1.473 GB, free: 4.211 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/1.941, allocations: 11.94 kB / 1.473 GB, free: 4.199 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/1.941, allocations: 4 kB / 1.473 GB, free: 4.195 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002787/1.942, allocations: 65.62 kB / 1.473 GB, free: 4.125 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/1.943, allocations: 211.7 kB / 1.473 GB, free: 3.918 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/1.946, allocations: 3.137 MB / 1.476 GB, free: 0.5039 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002247/1.948, allocations: 275.5 kB / 1.476 GB, free: 240 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/1.948, allocations: 35.97 kB / 1.477 GB, free: 204 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002039/1.95, allocations: 0.7589 MB / 1.477 GB, free: 15.43 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/1.951, allocations: 0.6019 MB / 1.478 GB, free: 14.73 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002021/1.953, allocations: 0.8199 MB / 1.479 GB, free: 13.82 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.183e-06/1.953, allocations: 3.938 kB / 1.479 GB, free: 13.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003634/1.957, allocations: 1.329 MB / 1.48 GB, free: 12.44 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.957, allocations: 8.344 kB / 1.48 GB, free: 12.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.957, allocations: 11.98 kB / 1.48 GB, free: 12.42 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/1.957, allocations: 65.77 kB / 1.48 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.958, allocations: 195.7 kB / 1.48 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/1.961, allocations: 3.14 MB / 1.483 GB, free: 8.734 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/1.963, allocations: 200.2 kB / 1.483 GB, free: 8.539 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.16e-05/1.963, allocations: 31.98 kB / 1.484 GB, free: 8.508 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.0003432/1.963, allocations: 220 kB / 1.484 GB, free: 8.285 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005285/1.964, allocations: 178.8 kB / 1.484 GB, free: 8.109 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/1.967, allocations: 0.9641 MB / 1.485 GB, free: 7.09 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.967, allocations: 4 kB / 1.485 GB, free: 7.086 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.967, allocations: 4 kB / 1.485 GB, free: 7.082 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.967, allocations: 0 / 1.485 GB, free: 7.082 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004828/1.972, allocations: 2.149 MB / 1.487 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.972, allocations: 0 / 1.487 GB, free: 4.812 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/1.972, allocations: 108 kB / 1.487 GB, free: 4.707 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001486/1.972, allocations: 45.7 kB / 1.487 GB, free: 4.656 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/1.972, allocations: 11.98 kB / 1.487 GB, free: 4.645 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/1.975, allocations: 3.132 MB / 1.49 GB, free: 1.238 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.975, allocations: 8.031 kB / 1.49 GB, free: 1.23 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/1.978, allocations: 1.038 MB / 1.491 GB, free: 120 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.979, allocations: 335.9 kB / 1.491 GB, free: 15.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005555/1.979, allocations: 11.98 kB / 1.492 GB, free: 15.75 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/1.981, allocations: 103.6 kB / 1.492 GB, free: 15.66 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/1.981, allocations: 23.97 kB / 1.492 GB, free: 15.63 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/1.981, allocations: 19.98 kB / 1.492 GB, free: 15.61 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.003331/1.985, allocations: 1.313 MB / 1.493 GB, free: 14.28 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.985, allocations: 0 / 1.493 GB, free: 14.28 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003161/1.988, allocations: 0.7604 MB / 1.494 GB, free: 13.52 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.0008562/1.989, allocations: 306.8 kB / 1.494 GB, free: 13.2 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004788/1.993, allocations: 1.731 MB / 1.496 GB, free: 11.42 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.993, allocations: 0 / 1.496 GB, free: 11.42 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001105/1.995, allocations: 0.5178 MB / 1.496 GB, free: 10.88 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005367/2, allocations: 1.026 MB / 1.497 GB, free: 9.871 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006147/2.006, allocations: 2.733 MB / 1.5 GB, free: 7.086 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/2.008, allocations: 1.348 MB / 1.501 GB, free: 5.711 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002087/2.01, allocations: 379 kB / 1.502 GB, free: 5.336 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/2.01, allocations: 119.4 kB / 1.502 GB, free: 5.219 MB / 1.123 GB Notification: Performance of SimCode: time 1.142e-06/2.01, allocations: 0 / 1.502 GB, free: 5.219 MB / 1.123 GB Notification: Performance of Templates: time 0.06631/2.077, allocations: 35.7 MB / 1.536 GB, free: 1.895 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