Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_11_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.001669/0.001669, allocations: 108 kB / 15.6 MB, free: 132 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.001776/0.001776, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.324/1.324, 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 11.1.0-maint.11.x/package.mo): time 2.557/2.557, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 64.23 kB / 0.9086 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2507, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7044/0.9552, allocations: 304.9 MB / 1.362 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02557/0.9808, allocations: 27.47 MB / 1.389 GB, free: 9.957 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.9829, allocations: 80.03 kB / 1.389 GB, free: 9.957 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007277/0.9903, allocations: 4.709 MB / 1.393 GB, free: 8.738 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005524/0.9958, allocations: 2.929 MB / 1.396 GB, free: 7.621 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004844/1.001, allocations: 2.62 MB / 1.399 GB, free: 6.176 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0072/1.008, allocations: 7.129 MB / 1.406 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/1.01, allocations: 1.806 MB / 1.407 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003086/1.013, allocations: 2.213 MB / 1.41 GB, free: 12 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001771/1.015, allocations: 1.286 MB / 1.411 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002296/1.015, allocations: 207.5 kB / 1.411 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/1.02, allocations: 3.203 MB / 1.414 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0006299/1.02, allocations: 0.753 MB / 1.415 GB, free: 12.92 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/1.021, allocations: 1.248 MB / 1.416 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004533/1.026, allocations: 4.831 MB / 1.421 GB, free: 8.742 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/1.026, allocations: 2 kB / 1.421 GB, free: 8.742 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/1.026, allocations: 0 / 1.421 GB, free: 8.742 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.236e-05/1.026, allocations: 0 / 1.421 GB, free: 8.742 MB / 1.029 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.003512/1.029, allocations: 2.715 MB / 1.424 GB, free: 6.672 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/1.029, allocations: 8.594 kB / 1.424 GB, free: 6.672 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/1.03, allocations: 167.3 kB / 1.424 GB, free: 6.535 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/1.033, allocations: 0.7231 MB / 1.424 GB, free: 6.199 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008167/1.042, allocations: 5.532 MB / 1.43 GB, free: 1.656 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003603/1.042, allocations: 142.1 kB / 1.43 GB, free: 1.516 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.042, allocations: 115.9 kB / 1.43 GB, free: 1.402 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/1.044, allocations: 1.402 MB / 1.431 GB, free: 15.86 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/1.044, allocations: 7.938 kB / 1.431 GB, free: 15.85 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/1.045, allocations: 48 kB / 1.431 GB, free: 15.8 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/1.045, allocations: 38 kB / 1.431 GB, free: 15.77 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002182/1.047, allocations: 0.9834 MB / 1.432 GB, free: 14.78 MB / 1.045 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.0077/1.055, allocations: 7.723 MB / 1.44 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/1.055, allocations: 371.7 kB / 1.44 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/1.056, allocations: 116.8 kB / 1.44 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002587/1.056, allocations: 190.2 kB / 1.441 GB, free: 5.918 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/1.056, allocations: 30.56 kB / 1.441 GB, free: 5.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/1.056, allocations: 0 / 1.441 GB, free: 5.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=18): time 0.001316/1.057, allocations: 0.5284 MB / 1.441 GB, free: 5.344 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.057, allocations: 59.34 kB / 1.441 GB, free: 5.273 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/1.06, allocations: 2.284 MB / 1.443 GB, free: 2.969 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.256e-05/1.06, allocations: 37.64 kB / 1.443 GB, free: 2.926 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008171/1.061, allocations: 0.9708 MB / 1.444 GB, free: 1.941 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.023e-05/1.061, allocations: 83.08 kB / 1.445 GB, free: 1.859 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/1.061, allocations: 282.2 kB / 1.445 GB, free: 1.578 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.062, allocations: 353.9 kB / 1.445 GB, free: 1.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008853/1.062, allocations: 456.9 kB / 1.446 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/1.064, allocations: 0.8997 MB / 1.446 GB, free: 15.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/1.065, allocations: 1.223 MB / 1.448 GB, free: 14.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/1.065, allocations: 4 kB / 1.448 GB, free: 14.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.002531/1.068, allocations: 1.516 MB / 1.449 GB, free: 12.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.068, allocations: 12 kB / 1.449 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.068, allocations: 12 kB / 1.449 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/1.068, allocations: 24.03 kB / 1.449 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/1.069, allocations: 247.6 kB / 1.449 GB, free: 12.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.724e-05/1.069, allocations: 31.86 kB / 1.449 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/1.07, allocations: 226.5 kB / 1.45 GB, free: 12.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/1.07, allocations: 51.98 kB / 1.45 GB, free: 12.13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001388/1.072, allocations: 0.9317 MB / 1.451 GB, free: 11.19 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001149/1.073, allocations: 0.8997 MB / 1.451 GB, free: 10.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001572/1.074, allocations: 1.195 MB / 1.453 GB, free: 8.695 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.121e-06/1.074, allocations: 4 kB / 1.453 GB, free: 8.691 MB / 1.061 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002409/1.077, allocations: 1.491 MB / 1.454 GB, free: 7.195 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.077, allocations: 12 kB / 1.454 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.077, allocations: 16 kB / 1.454 GB, free: 7.168 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/1.077, allocations: 20 kB / 1.454 GB, free: 7.148 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007698/1.078, allocations: 244.2 kB / 1.454 GB, free: 6.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.59e-05/1.078, allocations: 35.8 kB / 1.454 GB, free: 6.875 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.079, allocations: 144.2 kB / 1.455 GB, free: 6.734 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/1.079, allocations: 55.98 kB / 1.455 GB, free: 6.68 MB / 1.061 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.0001826/1.079, allocations: 251.8 kB / 1.455 GB, free: 6.426 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/1.079, allocations: 193.5 kB / 1.455 GB, free: 6.234 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/1.079, allocations: 172 kB / 1.455 GB, free: 6.062 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/1.079, allocations: 7.875 kB / 1.455 GB, free: 6.055 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/1.079, allocations: 4.125 kB / 1.455 GB, free: 6.051 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.079, allocations: 3.984 kB / 1.455 GB, free: 6.047 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/1.082, allocations: 1.866 MB / 1.457 GB, free: 4.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.082, allocations: 8.469 kB / 1.457 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/1.082, allocations: 55.89 kB / 1.457 GB, free: 4.004 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/1.082, allocations: 4 kB / 1.457 GB, free: 4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/1.082, allocations: 15.94 kB / 1.457 GB, free: 3.984 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/1.082, allocations: 7.938 kB / 1.457 GB, free: 3.977 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.082, allocations: 4 kB / 1.457 GB, free: 3.973 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/1.083, allocations: 0.5669 MB / 1.458 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/1.084, allocations: 326.4 kB / 1.458 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/1.084, allocations: 15.94 kB / 1.458 GB, free: 2.977 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/1.085, allocations: 55.88 kB / 1.458 GB, free: 2.922 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/1.085, allocations: 23.92 kB / 1.458 GB, free: 2.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/1.085, allocations: 8 kB / 1.458 GB, free: 2.891 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00202/1.087, allocations: 1.559 MB / 1.46 GB, free: 1.32 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.894e-06/1.087, allocations: 0 / 1.46 GB, free: 1.32 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001758/1.089, allocations: 0.823 MB / 1.46 GB, free: 0.4961 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.001815/1.09, allocations: 1.447 MB / 1.462 GB, free: 14.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00252/1.093, allocations: 1.448 MB / 1.463 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.093, allocations: 3.938 kB / 1.463 GB, free: 13.53 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003256/1.093, allocations: 128.9 kB / 1.463 GB, free: 13.4 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/1.097, allocations: 1.082 MB / 1.464 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01887/1.116, allocations: 15.24 MB / 1.479 GB, free: 11.77 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/1.117, allocations: 1.477 MB / 1.481 GB, free: 10.25 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001589/1.119, allocations: 460.9 kB / 1.481 GB, free: 9.801 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008568/1.119, allocations: 0.7335 MB / 1.482 GB, free: 9.066 MB / 1.092 GB Notification: Performance of SimCode: time 3.71e-07/1.119, allocations: 0 / 1.482 GB, free: 9.066 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.482/7.602, allocations: 51.56 MB / 1.532 GB, free: 6.062 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/24.07, allocations: 6.344 kB / 1.532 GB, free: 6.059 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches