Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, 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.001259/0.001259, allocations: 195.8 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.426/2.426, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 62.31 kB / 0.8992 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2328, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.6798/0.9126, allocations: 304.9 MB / 1.351 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02262/0.9352, allocations: 27.44 MB / 1.377 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.9377, allocations: 79 kB / 1.377 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007023/0.9447, allocations: 4.711 MB / 1.382 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005795/0.9505, allocations: 2.916 MB / 1.385 GB, free: 15.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004861/0.9554, allocations: 2.632 MB / 1.387 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006846/0.9622, allocations: 7.12 MB / 1.394 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.964, allocations: 1.803 MB / 1.396 GB, free: 11.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003021/0.967, allocations: 2.212 MB / 1.398 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00149/0.9685, allocations: 1.296 MB / 1.4 GB, free: 9.473 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002075/0.9687, allocations: 211.5 kB / 1.4 GB, free: 9.469 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004445/0.9732, allocations: 3.203 MB / 1.403 GB, free: 8.223 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.9738, allocations: 0.7408 MB / 1.404 GB, free: 7.707 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009062/0.9747, allocations: 1.252 MB / 1.405 GB, free: 6.848 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004085/0.9788, allocations: 4.829 MB / 1.41 GB, free: 3.727 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.9788, allocations: 0 / 1.41 GB, free: 3.727 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9788, allocations: 0 / 1.41 GB, free: 3.727 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.168e-05/0.9788, allocations: 0 / 1.41 GB, free: 3.727 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.003057/0.9819, allocations: 2.71 MB / 1.412 GB, free: 1.688 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.9819, allocations: 10.19 kB / 1.412 GB, free: 1.688 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001541/0.9821, allocations: 170 kB / 1.412 GB, free: 1.547 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003617/0.9857, allocations: 0.7123 MB / 1.413 GB, free: 1.223 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007283/0.993, allocations: 5.538 MB / 1.419 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.9933, allocations: 142.6 kB / 1.419 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.9934, allocations: 113.7 kB / 1.419 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.9955, allocations: 1.404 MB / 1.42 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.9955, allocations: 10.38 kB / 1.42 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.768e-05/0.9956, allocations: 47.19 kB / 1.42 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.9956, allocations: 45.98 kB / 1.42 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.9977, allocations: 0.9843 MB / 1.421 GB, free: 11.8 MB / 1.029 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.006697/1.004, allocations: 7.711 MB / 1.429 GB, free: 3.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007645/1.005, allocations: 367.8 kB / 1.429 GB, free: 3.344 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/1.005, allocations: 124.8 kB / 1.429 GB, free: 3.219 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/1.006, allocations: 178.2 kB / 1.429 GB, free: 3.008 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/1.006, allocations: 46.55 kB / 1.429 GB, free: 2.953 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/1.006, allocations: 3.938 kB / 1.429 GB, free: 2.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001247/1.007, allocations: 0.5184 MB / 1.43 GB, free: 2.422 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.579e-05/1.007, allocations: 59.39 kB / 1.43 GB, free: 2.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002473/1.009, allocations: 2.284 MB / 1.432 GB, free: 44 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/1.01, allocations: 37.7 kB / 1.432 GB, free: 0 / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00067/1.01, allocations: 0.9705 MB / 1.433 GB, free: 15.03 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.409e-05/1.01, allocations: 75.03 kB / 1.433 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/1.011, allocations: 282.2 kB / 1.434 GB, free: 14.67 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001036/1.011, allocations: 357.9 kB / 1.434 GB, free: 14.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/1.011, allocations: 460.9 kB / 1.434 GB, free: 13.86 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.013, allocations: 0.8958 MB / 1.435 GB, free: 12.75 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/1.014, allocations: 1.235 MB / 1.436 GB, free: 11.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.014, allocations: 4 kB / 1.436 GB, free: 11.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002312/1.016, allocations: 1.513 MB / 1.438 GB, free: 9.801 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/1.016, allocations: 14.03 kB / 1.438 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.016, allocations: 12 kB / 1.438 GB, free: 9.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/1.016, allocations: 20 kB / 1.438 GB, free: 9.758 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/1.017, allocations: 251.9 kB / 1.438 GB, free: 9.512 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.112e-05/1.017, allocations: 31.86 kB / 1.438 GB, free: 9.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.018, allocations: 210.6 kB / 1.438 GB, free: 9.273 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/1.018, allocations: 51.98 kB / 1.438 GB, free: 9.223 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/1.02, allocations: 0.9395 MB / 1.439 GB, free: 8.277 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009487/1.021, allocations: 0.888 MB / 1.44 GB, free: 7.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00135/1.022, allocations: 1.198 MB / 1.441 GB, free: 5.789 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.74e-06/1.022, allocations: 8 kB / 1.441 GB, free: 5.781 MB / 1.045 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002151/1.024, allocations: 1.5 MB / 1.443 GB, free: 4.273 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/1.024, allocations: 12 kB / 1.443 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/1.024, allocations: 20.12 kB / 1.443 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/1.024, allocations: 20 kB / 1.443 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/1.025, allocations: 239.6 kB / 1.443 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.101e-05/1.025, allocations: 31.86 kB / 1.443 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/1.026, allocations: 147.5 kB / 1.443 GB, free: 3.812 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/1.026, allocations: 52.12 kB / 1.443 GB, free: 3.762 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 (122): * Single equations (assignments): 120 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001609/1.026, allocations: 255.7 kB / 1.444 GB, free: 3.504 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/1.026, allocations: 197.5 kB / 1.444 GB, free: 3.309 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/1.027, allocations: 168 kB / 1.444 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.027, allocations: 8 kB / 1.444 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.027, allocations: 0 / 1.444 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/1.027, allocations: 0 / 1.444 GB, free: 3.133 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/1.029, allocations: 1.87 MB / 1.446 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/1.029, allocations: 4 kB / 1.446 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/1.029, allocations: 43.91 kB / 1.446 GB, free: 1.105 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/1.029, allocations: 11.94 kB / 1.446 GB, free: 1.094 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/1.029, allocations: 11.98 kB / 1.446 GB, free: 1.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.029, allocations: 12.19 kB / 1.446 GB, free: 1.07 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.029, allocations: 8 kB / 1.446 GB, free: 1.062 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/1.03, allocations: 0.563 MB / 1.446 GB, free: 436 kB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/1.031, allocations: 326.4 kB / 1.447 GB, free: 88 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/1.031, allocations: 15.92 kB / 1.447 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000724/1.032, allocations: 51.95 kB / 1.447 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/1.032, allocations: 23.97 kB / 1.447 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/1.032, allocations: 15.94 kB / 1.447 GB, free: 15.98 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001848/1.033, allocations: 1.544 MB / 1.448 GB, free: 14.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.9e-07/1.033, allocations: 3.938 kB / 1.448 GB, free: 14.42 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001684/1.035, allocations: 0.8231 MB / 1.449 GB, free: 13.6 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001638/1.037, allocations: 1.467 MB / 1.451 GB, free: 12.07 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002274/1.039, allocations: 1.448 MB / 1.452 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.039, allocations: 0 / 1.452 GB, free: 10.63 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003031/1.039, allocations: 121.8 kB / 1.452 GB, free: 10.51 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/1.043, allocations: 1.068 MB / 1.453 GB, free: 9.473 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/1.06, allocations: 15.25 MB / 1.468 GB, free: 8.887 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/1.061, allocations: 1.481 MB / 1.47 GB, free: 7.371 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001585/1.062, allocations: 468.9 kB / 1.47 GB, free: 6.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007467/1.063, allocations: 0.7258 MB / 1.471 GB, free: 6.184 MB / 1.076 GB Notification: Performance of SimCode: time 2.71e-07/1.063, allocations: 0 / 1.471 GB, free: 6.184 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.766/4.829, allocations: 51.55 MB / 1.521 GB, free: 3.176 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/16.62, allocations: 7.453 kB / 1.521 GB, free: 3.172 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches