Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_9_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.00529/0.00529, allocations: 104.7 kB / 15.74 MB, free: 6.055 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.001268/0.001268, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.175/2.175, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 0.9504 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.711, allocations: 140.4 MB / 1.087 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.2826/0.9936, allocations: 304.4 MB / 1.385 GB, free: 12.9 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0261/1.02, allocations: 25.62 MB / 1.41 GB, free: 3.203 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/1.022, allocations: 75.62 kB / 1.41 GB, free: 3.129 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00297/1.025, allocations: 1.414 MB / 1.411 GB, free: 1.707 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.005798/1.031, allocations: 2.889 MB / 1.414 GB, free: 14.81 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005371/1.036, allocations: 2.636 MB / 1.417 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005027/1.041, allocations: 4.345 MB / 1.421 GB, free: 7.816 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/1.043, allocations: 1.775 MB / 1.423 GB, free: 5.996 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003989/1.047, allocations: 2.254 MB / 1.425 GB, free: 3.734 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/1.049, allocations: 1.281 MB / 1.426 GB, free: 2.453 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002648/1.05, allocations: 200 kB / 1.426 GB, free: 2.258 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004807/1.054, allocations: 3.028 MB / 1.429 GB, free: 15.22 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0005464/1.055, allocations: 0.6154 MB / 1.43 GB, free: 14.61 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/1.056, allocations: 1.066 MB / 1.431 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004626/1.061, allocations: 4.223 MB / 1.435 GB, free: 9.301 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/1.061, allocations: 8 kB / 1.435 GB, free: 9.293 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.423e-06/1.061, allocations: 0 / 1.435 GB, free: 9.293 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.226e-05/1.061, allocations: 0 / 1.435 GB, free: 9.293 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.003084/1.064, allocations: 2.3 MB / 1.437 GB, free: 6.926 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/1.064, allocations: 8.031 kB / 1.437 GB, free: 6.918 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/1.064, allocations: 160.8 kB / 1.437 GB, free: 6.75 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003771/1.068, allocations: 0.6729 MB / 1.438 GB, free: 6.074 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/1.071, allocations: 2.034 MB / 1.44 GB, free: 3.984 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/1.071, allocations: 90.09 kB / 1.44 GB, free: 3.895 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/1.071, allocations: 112 kB / 1.44 GB, free: 3.785 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/1.073, allocations: 1.448 MB / 1.442 GB, free: 2.199 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/1.074, allocations: 7.938 kB / 1.442 GB, free: 2.191 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.074, allocations: 44 kB / 1.442 GB, free: 2.148 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-05/1.074, allocations: 38 kB / 1.442 GB, free: 2.113 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002553/1.076, allocations: 1.108 MB / 1.443 GB, free: 1.004 MB / 1.17 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.006916/1.083, allocations: 7.504 MB / 1.45 GB, free: 9.102 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/1.085, allocations: 479.5 kB / 1.451 GB, free: 8.609 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004448/1.085, allocations: 154.3 kB / 1.451 GB, free: 8.457 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/1.086, allocations: 190.2 kB / 1.451 GB, free: 8.234 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/1.086, allocations: 38.5 kB / 1.451 GB, free: 8.188 MB / 1.186 GB Notification: Performance of pre-optimization done (n=19): time 1.603e-06/1.086, allocations: 0 / 1.451 GB, free: 8.188 MB / 1.186 GB Notification: Performance of matching and sorting (n=19): time 0.001735/1.087, allocations: 0.5913 MB / 1.452 GB, free: 7.59 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/1.087, allocations: 55.34 kB / 1.452 GB, free: 7.523 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/1.089, allocations: 1.752 MB / 1.453 GB, free: 5.727 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.761e-05/1.09, allocations: 33.7 kB / 1.453 GB, free: 5.688 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005734/1.09, allocations: 0.8405 MB / 1.454 GB, free: 4.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/1.09, allocations: 75.03 kB / 1.454 GB, free: 4.766 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/1.09, allocations: 178.4 kB / 1.454 GB, free: 4.586 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 9.62e-05/1.091, allocations: 333.9 kB / 1.455 GB, free: 4.254 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008327/1.091, allocations: 312.7 kB / 1.455 GB, free: 3.945 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001071/1.092, allocations: 0.7194 MB / 1.456 GB, free: 3.02 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/1.094, allocations: 0.9296 MB / 1.457 GB, free: 1.906 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/1.094, allocations: 4 kB / 1.457 GB, free: 1.902 MB / 1.186 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002265/1.096, allocations: 1.097 MB / 1.458 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.096, allocations: 12 kB / 1.458 GB, free: 0.7852 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.096, allocations: 15.94 kB / 1.458 GB, free: 0.7695 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/1.096, allocations: 20 kB / 1.458 GB, free: 0.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/1.097, allocations: 215.8 kB / 1.458 GB, free: 0.5391 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/1.097, allocations: 19.94 kB / 1.458 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/1.098, allocations: 211.2 kB / 1.458 GB, free: 320 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.507e-05/1.098, allocations: 51.92 kB / 1.458 GB, free: 268 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001125/1.1, allocations: 0.641 MB / 1.459 GB, free: 15.61 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000904/1.1, allocations: 0.6804 MB / 1.459 GB, free: 14.73 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001307/1.102, allocations: 0.8699 MB / 1.46 GB, free: 13.68 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.184e-05/1.102, allocations: 7.984 kB / 1.46 GB, free: 13.67 MB / 1.201 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.00209/1.104, allocations: 1.03 MB / 1.461 GB, free: 12.63 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.104, allocations: 12 kB / 1.461 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.104, allocations: 12 kB / 1.461 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.104, allocations: 20.75 kB / 1.461 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/1.105, allocations: 207.8 kB / 1.462 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/1.105, allocations: 27.92 kB / 1.462 GB, free: 12.36 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.106, allocations: 151.9 kB / 1.462 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.029e-05/1.106, allocations: 43.98 kB / 1.462 GB, free: 12.17 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (88): * Single equations (assignments): 87 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0002031/1.106, allocations: 235.9 kB / 1.462 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/1.106, allocations: 158 kB / 1.462 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/1.108, allocations: 469.2 kB / 1.463 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/1.108, allocations: 4 kB / 1.463 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.108, allocations: 0 / 1.463 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/1.108, allocations: 0 / 1.463 GB, free: 11.3 MB / 1.201 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.002619/1.11, allocations: 1.623 MB / 1.464 GB, free: 9.578 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.11, allocations: 7.984 kB / 1.464 GB, free: 9.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/1.111, allocations: 64.14 kB / 1.464 GB, free: 9.508 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.111, allocations: 4 kB / 1.464 GB, free: 9.504 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.111, allocations: 7.984 kB / 1.464 GB, free: 9.496 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.111, allocations: 4 kB / 1.464 GB, free: 9.492 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.111, allocations: 4 kB / 1.464 GB, free: 9.488 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/1.112, allocations: 0.6143 MB / 1.465 GB, free: 8.828 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000401/1.112, allocations: 291 kB / 1.465 GB, free: 8.523 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/1.112, allocations: 7.984 kB / 1.465 GB, free: 8.516 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/1.113, allocations: 59.94 kB / 1.465 GB, free: 8.457 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/1.113, allocations: 23.92 kB / 1.465 GB, free: 8.434 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/1.113, allocations: 19.97 kB / 1.465 GB, free: 8.414 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001589/1.115, allocations: 1.211 MB / 1.466 GB, free: 7.18 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.303e-06/1.115, allocations: 0 / 1.466 GB, free: 7.18 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00171/1.117, allocations: 0.6707 MB / 1.467 GB, free: 6.508 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (19): * Single equations (assignments): 19 * 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.00178/1.118, allocations: 1.333 MB / 1.468 GB, free: 5.125 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002439/1.121, allocations: 1.025 MB / 1.469 GB, free: 4.105 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.121, allocations: 3.938 kB / 1.469 GB, free: 4.102 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004613/1.121, allocations: 156.3 kB / 1.47 GB, free: 3.949 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/1.124, allocations: 0.8633 MB / 1.47 GB, free: 3.094 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/1.139, allocations: 10.93 MB / 1.481 GB, free: 7.555 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007488/1.14, allocations: 1.295 MB / 1.482 GB, free: 6.23 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001195/1.141, allocations: 362.1 kB / 1.483 GB, free: 5.871 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/1.142, allocations: 0.5969 MB / 1.483 GB, free: 5.277 MB / 1.217 GB Notification: Performance of SimCode: time 6.61e-07/1.142, allocations: 0 / 1.483 GB, free: 5.277 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.373/4.515, allocations: 42.06 MB / 1.524 GB, free: 11.71 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/18.42, allocations: 15.77 kB / 1.524 GB, free: 11.7 MB / 1.264 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches