Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001322/0.001322, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 197.5 kB / 16.53 MB, free: 6.664 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.579/1.579, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.982/2.982, allocations: 437 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9824/0.9846, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.271/2.255, allocations: 312.7 MB / 1.323 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03499/2.29, allocations: 29.37 MB / 1.351 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004705/2.295, allocations: 84.44 kB / 1.351 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01115/2.306, allocations: 4.876 MB / 1.356 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/2.317, allocations: 3.041 MB / 1.359 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008311/2.325, allocations: 2.626 MB / 1.362 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01173/2.337, allocations: 7.401 MB / 1.369 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004224/2.341, allocations: 2.063 MB / 1.371 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009278/2.351, allocations: 2.356 MB / 1.373 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005035/2.356, allocations: 1.484 MB / 1.375 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001451/2.357, allocations: 246.4 kB / 1.375 GB, free: 1.844 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009955/2.367, allocations: 3.595 MB / 1.378 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00184/2.369, allocations: 0.8076 MB / 1.379 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00368/2.373, allocations: 1.383 MB / 1.381 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01272/2.386, allocations: 5.317 MB / 1.386 GB, free: 13.54 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/2.386, allocations: 0 / 1.386 GB, free: 13.54 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.776e-06/2.386, allocations: 2.938 kB / 1.386 GB, free: 13.54 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001882/2.386, allocations: 0 / 1.386 GB, free: 13.54 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.009831/2.396, allocations: 2.905 MB / 1.389 GB, free: 11.37 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/2.396, allocations: 12.33 kB / 1.389 GB, free: 11.37 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/2.402, allocations: 0.9389 MB / 1.39 GB, free: 10.95 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/2.414, allocations: 5.623 MB / 1.395 GB, free: 7.246 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004492/2.414, allocations: 161.5 kB / 1.395 GB, free: 7.176 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004451/2.415, allocations: 133.9 kB / 1.395 GB, free: 7.133 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004374/2.419, allocations: 1.59 MB / 1.397 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/2.419, allocations: 2.094 kB / 1.397 GB, free: 6.141 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002137/2.42, allocations: 59.98 kB / 1.397 GB, free: 6.098 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.237e-05/2.42, allocations: 45.72 kB / 1.397 GB, free: 6.094 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003842/2.423, allocations: 1.338 MB / 1.398 GB, free: 5.422 MB / 1.014 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.01405/2.438, allocations: 7.691 MB / 1.406 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/2.44, allocations: 0.667 MB / 1.406 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/2.44, allocations: 261.9 kB / 1.407 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003432/2.441, allocations: 192 kB / 1.407 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/2.441, allocations: 36.62 kB / 1.407 GB, free: 14.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/2.441, allocations: 0 / 1.407 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=35): time 0.00334/2.444, allocations: 1.053 MB / 1.408 GB, free: 13.43 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/2.444, allocations: 59.16 kB / 1.408 GB, free: 13.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005902/2.45, allocations: 2.363 MB / 1.41 GB, free: 11.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001526/2.45, allocations: 37.7 kB / 1.41 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001205/2.451, allocations: 0.9579 MB / 1.411 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/2.452, allocations: 128.4 kB / 1.411 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005727/2.452, allocations: 253.7 kB / 1.412 GB, free: 9.859 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001776/2.452, allocations: 349.9 kB / 1.412 GB, free: 9.512 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/2.454, allocations: 0.5126 MB / 1.412 GB, free: 8.996 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/2.456, allocations: 0.7956 MB / 1.413 GB, free: 8.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/2.458, allocations: 1.134 MB / 1.414 GB, free: 6.887 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/2.458, allocations: 4 kB / 1.414 GB, free: 6.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004363/2.462, allocations: 1.634 MB / 1.416 GB, free: 5.262 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/2.462, allocations: 9.25 kB / 1.416 GB, free: 5.254 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/2.462, allocations: 12 kB / 1.416 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/2.463, allocations: 36.84 kB / 1.416 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/2.464, allocations: 244.7 kB / 1.416 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/2.466, allocations: 1.576 MB / 1.418 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00281/2.469, allocations: 244.3 kB / 1.418 GB, free: 3.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/2.469, allocations: 43.98 kB / 1.418 GB, free: 2.992 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002653/2.471, allocations: 1.025 MB / 1.419 GB, free: 1.965 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001682/2.473, allocations: 0.7811 MB / 1.42 GB, free: 1.074 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002391/2.476, allocations: 1.105 MB / 1.421 GB, free: 15.89 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.12e-05/2.476, allocations: 7.938 kB / 1.421 GB, free: 15.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.0041/2.48, allocations: 1.609 MB / 1.422 GB, free: 14.29 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/2.48, allocations: 8 kB / 1.422 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/2.48, allocations: 8 kB / 1.422 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/2.48, allocations: 45.22 kB / 1.423 GB, free: 14.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/2.481, allocations: 236.5 kB / 1.423 GB, free: 14.01 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/2.483, allocations: 1.565 MB / 1.424 GB, free: 12.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002321/2.485, allocations: 175.9 kB / 1.424 GB, free: 12.15 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/2.485, allocations: 36 kB / 1.424 GB, free: 12.11 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000365/2.486, allocations: 237.3 kB / 1.425 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006298/2.486, allocations: 209.3 kB / 1.425 GB, free: 11.68 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002394/2.489, allocations: 0.7619 MB / 1.426 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/2.489, allocations: 4 kB / 1.426 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/2.489, allocations: 0 / 1.426 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/2.489, allocations: 0 / 1.426 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005493/2.494, allocations: 2.161 MB / 1.428 GB, free: 8.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/2.494, allocations: 3.984 kB / 1.428 GB, free: 8.637 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/2.495, allocations: 95.25 kB / 1.428 GB, free: 8.547 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001309/2.495, allocations: 24.84 kB / 1.428 GB, free: 8.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/2.495, allocations: 11.98 kB / 1.428 GB, free: 8.508 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/2.497, allocations: 1.561 MB / 1.429 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/2.497, allocations: 4.031 kB / 1.429 GB, free: 6.809 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/2.499, allocations: 0.8885 MB / 1.43 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/2.5, allocations: 354.3 kB / 1.431 GB, free: 5.5 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000546/2.501, allocations: 19.92 kB / 1.431 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/2.502, allocations: 63.94 kB / 1.431 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/2.502, allocations: 23.91 kB / 1.431 GB, free: 5.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/2.503, allocations: 15.98 kB / 1.431 GB, free: 5.379 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00392/2.506, allocations: 1.658 MB / 1.432 GB, free: 3.715 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.71e-07/2.506, allocations: 3.938 kB / 1.432 GB, free: 3.711 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004022/2.51, allocations: 0.893 MB / 1.433 GB, free: 2.816 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001334/2.512, allocations: 447.8 kB / 1.434 GB, free: 2.395 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005073/2.517, allocations: 1.84 MB / 1.435 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/2.517, allocations: 4.375 kB / 1.435 GB, free: 0.582 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0008687/2.518, allocations: 352.9 kB / 1.436 GB, free: 240 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006576/2.524, allocations: 1.258 MB / 1.437 GB, free: 15.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/2.533, allocations: 3.304 MB / 1.44 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/2.535, allocations: 1.534 MB / 1.442 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002788/2.538, allocations: 469.8 kB / 1.442 GB, free: 9.633 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/2.538, allocations: 139.4 kB / 1.442 GB, free: 9.496 MB / 1.061 GB Notification: Performance of SimCode: time 1.213e-06/2.538, allocations: 0 / 1.442 GB, free: 9.496 MB / 1.061 GB Notification: Performance of Templates: time 0.08899/2.627, allocations: 41.57 MB / 1.483 GB, free: 0.5547 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches