Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00178/0.00178, 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.002209/0.002209, allocations: 195 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.491/1.491, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 61.5 kB / 0.912 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4169, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.239/1.655, allocations: 312.7 MB / 1.374 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04145/1.697, allocations: 29.37 MB / 1.402 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005586/1.703, allocations: 81.19 kB / 1.402 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01307/1.716, allocations: 4.894 MB / 1.407 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01213/1.728, allocations: 3.037 MB / 1.41 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.008544/1.737, allocations: 2.616 MB / 1.413 GB, free: 9.242 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01313/1.75, allocations: 7.406 MB / 1.42 GB, free: 5.297 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004726/1.754, allocations: 2.064 MB / 1.422 GB, free: 3.992 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006985/1.761, allocations: 2.357 MB / 1.424 GB, free: 2.547 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004701/1.766, allocations: 1.477 MB / 1.426 GB, free: 1.621 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001184/1.767, allocations: 246.2 kB / 1.426 GB, free: 1.621 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009328/1.777, allocations: 3.599 MB / 1.429 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.00164/1.778, allocations: 0.8091 MB / 1.43 GB, free: 15.05 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003714/1.782, allocations: 1.384 MB / 1.431 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01498/1.797, allocations: 5.317 MB / 1.437 GB, free: 9.309 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/1.797, allocations: 4 kB / 1.437 GB, free: 9.305 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/1.797, allocations: 0 / 1.437 GB, free: 9.305 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000168/1.797, allocations: 0 / 1.437 GB, free: 9.305 MB / 1.045 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.008256/1.806, allocations: 2.908 MB / 1.439 GB, free: 6.324 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.806, allocations: 12.03 kB / 1.439 GB, free: 6.312 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006683/1.812, allocations: 0.9336 MB / 1.44 GB, free: 5.375 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/1.824, allocations: 5.621 MB / 1.446 GB, free: 15.7 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004519/1.825, allocations: 166.4 kB / 1.446 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005029/1.825, allocations: 132 kB / 1.446 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/1.83, allocations: 1.586 MB / 1.448 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/1.83, allocations: 3.938 kB / 1.448 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/1.83, allocations: 56 kB / 1.448 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.839e-05/1.83, allocations: 50.48 kB / 1.448 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/1.834, allocations: 1.337 MB / 1.449 GB, free: 12.3 MB / 1.061 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.01321/1.847, allocations: 7.691 MB / 1.457 GB, free: 4.078 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002047/1.849, allocations: 0.6658 MB / 1.457 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007252/1.85, allocations: 256.7 kB / 1.458 GB, free: 3.133 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/1.85, allocations: 194.8 kB / 1.458 GB, free: 2.906 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/1.85, allocations: 42.5 kB / 1.458 GB, free: 2.855 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 2.505e-06/1.85, allocations: 0 / 1.458 GB, free: 2.855 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.003412/1.854, allocations: 1.038 MB / 1.459 GB, free: 1.77 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.854, allocations: 59.39 kB / 1.459 GB, free: 1.699 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005054/1.859, allocations: 2.368 MB / 1.461 GB, free: 15.31 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/1.859, allocations: 37.64 kB / 1.461 GB, free: 15.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.86, allocations: 0.9613 MB / 1.462 GB, free: 14.3 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/1.86, allocations: 138.1 kB / 1.462 GB, free: 14.16 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005266/1.861, allocations: 254.3 kB / 1.463 GB, free: 13.9 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.861, allocations: 345.9 kB / 1.463 GB, free: 13.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/1.863, allocations: 0.5204 MB / 1.463 GB, free: 13.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/1.864, allocations: 0.7934 MB / 1.464 GB, free: 12.12 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/1.867, allocations: 1.121 MB / 1.465 GB, free: 10.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/1.867, allocations: 0 / 1.465 GB, free: 10.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004265/1.871, allocations: 1.636 MB / 1.467 GB, free: 9.242 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/1.871, allocations: 11.94 kB / 1.467 GB, free: 9.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.445e-05/1.871, allocations: 8 kB / 1.467 GB, free: 9.223 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000218/1.871, allocations: 32.84 kB / 1.467 GB, free: 9.188 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/1.872, allocations: 251.9 kB / 1.467 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/1.874, allocations: 1.581 MB / 1.469 GB, free: 7.223 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/1.876, allocations: 250 kB / 1.469 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.876, allocations: 43.97 kB / 1.469 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002362/1.879, allocations: 1.022 MB / 1.47 GB, free: 5.914 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001454/1.88, allocations: 0.7778 MB / 1.471 GB, free: 5.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002048/1.882, allocations: 1.101 MB / 1.472 GB, free: 3.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.424e-06/1.882, allocations: 8 kB / 1.472 GB, free: 3.812 MB / 1.076 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003621/1.886, allocations: 1.619 MB / 1.473 GB, free: 2.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.886, allocations: 8 kB / 1.473 GB, free: 2.152 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/1.886, allocations: 8 kB / 1.473 GB, free: 2.145 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/1.886, allocations: 36.84 kB / 1.473 GB, free: 2.105 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.887, allocations: 244 kB / 1.474 GB, free: 1.867 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/1.888, allocations: 1.568 MB / 1.475 GB, free: 168 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002098/1.89, allocations: 171.8 kB / 1.475 GB, free: 15.99 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.765e-05/1.89, allocations: 40 kB / 1.475 GB, free: 15.95 MB / 1.092 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.0003131/1.891, allocations: 233 kB / 1.476 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/1.891, allocations: 205.4 kB / 1.476 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/1.893, allocations: 0.7703 MB / 1.477 GB, free: 14.71 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/1.893, allocations: 4 kB / 1.477 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.893, allocations: 3.938 kB / 1.477 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/1.893, allocations: 0 / 1.477 GB, free: 14.7 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00465/1.898, allocations: 2.161 MB / 1.479 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.898, allocations: 0 / 1.479 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/1.899, allocations: 99.86 kB / 1.479 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.773e-05/1.899, allocations: 29.06 kB / 1.479 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.375e-05/1.899, allocations: 15.92 kB / 1.479 GB, free: 12.29 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.9, allocations: 1.556 MB / 1.48 GB, free: 10.6 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.9, allocations: 4.031 kB / 1.48 GB, free: 10.59 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/1.902, allocations: 0.8781 MB / 1.481 GB, free: 9.656 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/1.903, allocations: 354.3 kB / 1.482 GB, free: 9.289 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/1.904, allocations: 15.92 kB / 1.482 GB, free: 9.273 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.905, allocations: 75.78 kB / 1.482 GB, free: 9.199 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/1.905, allocations: 23.91 kB / 1.482 GB, free: 9.176 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/1.905, allocations: 19.98 kB / 1.482 GB, free: 9.156 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003737/1.909, allocations: 1.647 MB / 1.483 GB, free: 7.5 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.61e-07/1.909, allocations: 0 / 1.483 GB, free: 7.5 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00369/1.913, allocations: 0.8931 MB / 1.484 GB, free: 6.605 MB / 1.092 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.001186/1.914, allocations: 445.6 kB / 1.485 GB, free: 6.16 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.004745/1.919, allocations: 1.844 MB / 1.486 GB, free: 4.293 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.919, allocations: 1.125 kB / 1.486 GB, free: 4.293 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008011/1.92, allocations: 356.1 kB / 1.487 GB, free: 3.934 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006696/1.926, allocations: 1.263 MB / 1.488 GB, free: 2.707 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007588/1.934, allocations: 3.297 MB / 1.491 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/1.936, allocations: 1.534 MB / 1.493 GB, free: 13.79 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.003084/1.939, allocations: 481.8 kB / 1.493 GB, free: 13.32 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004927/1.94, allocations: 135.4 kB / 1.493 GB, free: 13.18 MB / 1.107 GB Notification: Performance of SimCode: time 1.152e-06/1.94, allocations: 0 / 1.493 GB, free: 13.18 MB / 1.107 GB Notification: Performance of Templates: time 0.07547/2.015, allocations: 41.6 MB / 1.534 GB, free: 4.043 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches