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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001264/0.001264, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001594/0.001594, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.566/2.566, allocations: 390.9 MB / 0.666 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003989/0.000399, allocations: 12 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9012, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.3413/1.243, allocations: 285.5 MB / 1.233 GB, free: 1.219 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8797/2.122, allocations: 25.57 MB / 1.258 GB, free: 32.36 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003642/2.126, allocations: 68.78 kB / 1.258 GB, free: 32.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004634/2.131, allocations: 0.9725 MB / 1.259 GB, free: 32.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008835/2.14, allocations: 2.192 MB / 1.261 GB, free: 32.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006947/2.147, allocations: 1.748 MB / 1.263 GB, free: 32.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01116/2.158, allocations: 5.131 MB / 1.268 GB, free: 32.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0038/2.162, allocations: 1.389 MB / 1.269 GB, free: 32.08 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009295/2.171, allocations: 1.799 MB / 1.271 GB, free: 32.06 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005081/2.176, allocations: 1.266 MB / 1.272 GB, free: 32.05 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006973/2.177, allocations: 67.62 kB / 1.273 GB, free: 32.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008702/2.186, allocations: 2.015 MB / 1.275 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001332/2.187, allocations: 497.6 kB / 1.275 GB, free: 32.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001491/2.188, allocations: 462.7 kB / 1.275 GB, free: 31.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007184/2.196, allocations: 3.401 MB / 1.279 GB, free: 31.77 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/2.196, allocations: 2.797 kB / 1.279 GB, free: 31.77 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.374e-06/2.196, allocations: 0 / 1.279 GB, free: 31.77 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001323/2.196, allocations: 0 / 1.279 GB, free: 31.77 MB / 0.9981 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.005933/2.202, allocations: 2.122 MB / 1.281 GB, free: 30.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/2.202, allocations: 9.906 kB / 1.281 GB, free: 30.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006442/2.208, allocations: 0.9454 MB / 1.282 GB, free: 30.42 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004797/2.213, allocations: 2.016 MB / 1.284 GB, free: 30.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/2.214, allocations: 235.3 kB / 1.284 GB, free: 29.99 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/2.214, allocations: 131.6 kB / 1.284 GB, free: 29.99 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/2.217, allocations: 1.699 MB / 1.286 GB, free: 29.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/2.218, allocations: 2.125 kB / 1.286 GB, free: 29.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/2.218, allocations: 54.09 kB / 1.286 GB, free: 29.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-05/2.218, allocations: 46.92 kB / 1.286 GB, free: 29.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/2.221, allocations: 1.612 MB / 1.287 GB, free: 29.75 MB / 0.9981 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.01063/2.232, allocations: 7.483 MB / 1.295 GB, free: 26.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002161/2.234, allocations: 0.7168 MB / 1.295 GB, free: 26.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007839/2.235, allocations: 336.5 kB / 1.296 GB, free: 26.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002612/2.235, allocations: 185 kB / 1.296 GB, free: 26.03 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/2.235, allocations: 48.17 kB / 1.296 GB, free: 25.99 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009947/2.236, allocations: 91.72 kB / 1.296 GB, free: 25.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=37): time 3.196e-06/2.236, allocations: 0 / 1.296 GB, free: 25.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37): time 0.003534/2.24, allocations: 1.418 MB / 1.297 GB, free: 25.38 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/2.24, allocations: 56.62 kB / 1.297 GB, free: 25.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/2.243, allocations: 1.854 MB / 1.299 GB, free: 25.08 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/2.243, allocations: 35.86 kB / 1.299 GB, free: 25.05 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006779/2.244, allocations: 0.8134 MB / 1.3 GB, free: 24.81 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/2.244, allocations: 136.7 kB / 1.3 GB, free: 24.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/2.244, allocations: 13.31 kB / 1.3 GB, free: 24.72 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/2.244, allocations: 333.7 kB / 1.301 GB, free: 24.42 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/2.245, allocations: 449.6 kB / 1.301 GB, free: 24.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/2.247, allocations: 0.6711 MB / 1.302 GB, free: 24.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/2.248, allocations: 485.2 kB / 1.302 GB, free: 24.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/2.248, allocations: 3.531 kB / 1.302 GB, free: 24.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003084/2.251, allocations: 1.463 MB / 1.304 GB, free: 23.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/2.251, allocations: 272.6 kB / 1.304 GB, free: 23.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/2.251, allocations: 4.906 kB / 1.304 GB, free: 23.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/2.251, allocations: 65.59 kB / 1.304 GB, free: 23.36 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/2.252, allocations: 232 kB / 1.304 GB, free: 23.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/2.254, allocations: 2.821 MB / 1.307 GB, free: 20.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002422/2.256, allocations: 289.7 kB / 1.307 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.748e-05/2.256, allocations: 36.23 kB / 1.307 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/2.256, allocations: 8.344 kB / 1.307 GB, free: 20.64 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002492/2.259, allocations: 1.216 MB / 1.308 GB, free: 20.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/2.259, allocations: 5.812 kB / 1.308 GB, free: 20.39 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/2.259, allocations: 71.94 kB / 1.308 GB, free: 20.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009964/2.26, allocations: 212.6 kB / 1.309 GB, free: 20.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/2.262, allocations: 2.826 MB / 1.311 GB, free: 17.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/2.265, allocations: 222.4 kB / 1.312 GB, free: 17.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/2.265, allocations: 35.23 kB / 1.312 GB, free: 17.66 MB / 0.9981 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 (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001877/2.267, allocations: 0.5202 MB / 1.312 GB, free: 17.47 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/2.268, allocations: 167.8 kB / 1.312 GB, free: 17.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/2.27, allocations: 1.005 MB / 1.313 GB, free: 17.08 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/2.27, allocations: 3.531 kB / 1.313 GB, free: 17.08 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/2.27, allocations: 0 / 1.313 GB, free: 17.08 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/2.27, allocations: 0 / 1.313 GB, free: 17.08 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.005787/2.276, allocations: 2.261 MB / 1.316 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/2.276, allocations: 3.5 kB / 1.316 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/2.277, allocations: 113.8 kB / 1.316 GB, free: 16.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/2.277, allocations: 54.69 kB / 1.316 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/2.277, allocations: 12.06 kB / 1.316 GB, free: 16.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/2.279, allocations: 2.832 MB / 1.318 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.279, allocations: 0 / 1.318 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/2.281, allocations: 1.049 MB / 1.319 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/2.282, allocations: 332.9 kB / 1.32 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/2.283, allocations: 9.016 kB / 1.32 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/2.284, allocations: 153.4 kB / 1.32 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/2.284, allocations: 29.23 kB / 1.32 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/2.284, allocations: 18.86 kB / 1.32 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002431/2.286, allocations: 1.317 MB / 1.321 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.71e-07/2.286, allocations: 0 / 1.321 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003456/2.29, allocations: 0.7634 MB / 1.322 GB, free: 12.85 MB / 0.9981 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009792/2.291, allocations: 316.5 kB / 1.322 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004145/2.295, allocations: 1.83 MB / 1.324 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/2.295, allocations: 4.562 kB / 1.324 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009256/2.296, allocations: 0.5254 MB / 1.325 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005084/2.301, allocations: 0.9659 MB / 1.326 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005966/2.307, allocations: 3.171 MB / 1.329 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009403/2.308, allocations: 1.35 MB / 1.33 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002496/2.311, allocations: 382 kB / 1.33 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004053/2.311, allocations: 123.5 kB / 1.33 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of SimCode: time 1.343e-06/2.311, allocations: 4 kB / 1.33 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of Templates: time 0.06271/2.374, allocations: 33.22 MB / 1.363 GB, free: 10.99 MB / 1.014 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