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 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,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan",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.001731/0.001731, 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.001894/0.001894, allocations: 196 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.254/1.254, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.443/2.443, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.8 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2395, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.7404/0.9799, allocations: 312.7 MB / 1.358 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02735/1.007, allocations: 29.36 MB / 1.387 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002959/1.01, allocations: 81.75 kB / 1.387 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.008415/1.019, allocations: 4.878 MB / 1.392 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006833/1.026, allocations: 3.044 MB / 1.395 GB, free: 12.18 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005474/1.031, allocations: 2.609 MB / 1.397 GB, free: 10.84 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008802/1.04, allocations: 7.405 MB / 1.405 GB, free: 7.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002507/1.042, allocations: 2.056 MB / 1.407 GB, free: 6.047 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005178/1.048, allocations: 2.38 MB / 1.409 GB, free: 4.578 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003258/1.051, allocations: 1.474 MB / 1.41 GB, free: 3.652 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0005692/1.051, allocations: 245.4 kB / 1.411 GB, free: 3.652 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00681/1.058, allocations: 3.589 MB / 1.414 GB, free: 1.688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001012/1.059, allocations: 0.8098 MB / 1.415 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002354/1.062, allocations: 1.383 MB / 1.416 GB, free: 152 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007845/1.07, allocations: 5.321 MB / 1.421 GB, free: 12.47 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.07, allocations: 1 kB / 1.421 GB, free: 12.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.863e-06/1.07, allocations: 0 / 1.421 GB, free: 12.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001076/1.07, allocations: 0 / 1.421 GB, free: 12.47 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: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.006595/1.076, allocations: 2.907 MB / 1.424 GB, free: 10.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.076, allocations: 11.97 kB / 1.424 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004381/1.077, allocations: 190.1 kB / 1.424 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005903/1.083, allocations: 0.9397 MB / 1.425 GB, free: 9.695 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009511/1.092, allocations: 5.636 MB / 1.431 GB, free: 4.035 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/1.093, allocations: 154.5 kB / 1.431 GB, free: 3.883 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/1.093, allocations: 136 kB / 1.431 GB, free: 3.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/1.096, allocations: 1.595 MB / 1.433 GB, free: 2.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.096, allocations: 3.984 kB / 1.433 GB, free: 2.086 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/1.097, allocations: 52 kB / 1.433 GB, free: 2.035 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/1.097, allocations: 50.44 kB / 1.433 GB, free: 1.984 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/1.1, allocations: 1.333 MB / 1.434 GB, free: 0.6445 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.009856/1.11, allocations: 7.683 MB / 1.442 GB, free: 8.426 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/1.112, allocations: 0.6767 MB / 1.442 GB, free: 7.727 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000605/1.112, allocations: 256.7 kB / 1.442 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002485/1.112, allocations: 194.2 kB / 1.443 GB, free: 7.246 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/1.112, allocations: 38.5 kB / 1.443 GB, free: 7.199 MB / 1.045 GB Notification: Performance of pre-optimization done (n=35): time 2.044e-06/1.112, allocations: 3.938 kB / 1.443 GB, free: 7.195 MB / 1.045 GB Notification: Performance of matching and sorting (n=35): time 0.002579/1.115, allocations: 1.057 MB / 1.444 GB, free: 6.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/1.115, allocations: 55.41 kB / 1.444 GB, free: 6.023 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003257/1.118, allocations: 2.36 MB / 1.446 GB, free: 3.645 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.291e-05/1.118, allocations: 37.7 kB / 1.446 GB, free: 3.602 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000739/1.119, allocations: 0.9574 MB / 1.447 GB, free: 2.633 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/1.119, allocations: 126.2 kB / 1.447 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003538/1.12, allocations: 262.2 kB / 1.447 GB, free: 2.242 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.12, allocations: 353.9 kB / 1.448 GB, free: 1.891 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.121, allocations: 0.5165 MB / 1.448 GB, free: 1.371 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/1.122, allocations: 0.7973 MB / 1.449 GB, free: 468 kB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001901/1.124, allocations: 1.113 MB / 1.45 GB, free: 15.24 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.124, allocations: 0 / 1.45 GB, free: 15.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003083/1.127, allocations: 1.644 MB / 1.452 GB, free: 13.57 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.127, allocations: 12.06 kB / 1.452 GB, free: 13.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.127, allocations: 8 kB / 1.452 GB, free: 13.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/1.127, allocations: 40.77 kB / 1.452 GB, free: 13.51 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/1.129, allocations: 247.6 kB / 1.452 GB, free: 13.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001041/1.13, allocations: 1.564 MB / 1.454 GB, free: 11.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/1.131, allocations: 254.6 kB / 1.454 GB, free: 11.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/1.131, allocations: 43.98 kB / 1.454 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001774/1.133, allocations: 1.018 MB / 1.455 GB, free: 10.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001229/1.134, allocations: 0.7871 MB / 1.456 GB, free: 9.348 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001747/1.136, allocations: 1.101 MB / 1.457 GB, free: 8.148 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.56e-06/1.136, allocations: 4 kB / 1.457 GB, free: 8.145 MB / 1.061 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.002922/1.139, allocations: 1.608 MB / 1.458 GB, free: 6.508 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.139, allocations: 8 kB / 1.458 GB, free: 6.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.139, allocations: 8 kB / 1.458 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.441e-05/1.139, allocations: 44.78 kB / 1.458 GB, free: 6.445 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.14, allocations: 232 kB / 1.459 GB, free: 6.219 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009483/1.141, allocations: 1.572 MB / 1.46 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/1.143, allocations: 180.1 kB / 1.46 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/1.143, allocations: 35.98 kB / 1.46 GB, free: 4.297 MB / 1.061 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.0002157/1.143, allocations: 232 kB / 1.46 GB, free: 4.062 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003296/1.144, allocations: 209.2 kB / 1.461 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/1.145, allocations: 0.76 MB / 1.461 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.145, allocations: 0 / 1.461 GB, free: 3.059 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.145, allocations: 8 kB / 1.461 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.145, allocations: 0 / 1.461 GB, free: 3.051 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003555/1.149, allocations: 2.149 MB / 1.464 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/1.149, allocations: 12.02 kB / 1.464 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005734/1.15, allocations: 87.88 kB / 1.464 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-05/1.15, allocations: 32.78 kB / 1.464 GB, free: 0.668 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/1.15, allocations: 20.05 kB / 1.464 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008907/1.151, allocations: 1.568 MB / 1.465 GB, free: 14.94 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.151, allocations: 4 kB / 1.465 GB, free: 14.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/1.152, allocations: 0.8888 MB / 1.466 GB, free: 13.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005644/1.153, allocations: 350.3 kB / 1.466 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/1.153, allocations: 11.98 kB / 1.466 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.154, allocations: 71.88 kB / 1.467 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.042e-05/1.154, allocations: 27.91 kB / 1.467 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/1.154, allocations: 15.98 kB / 1.467 GB, free: 13.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002426/1.157, allocations: 1.654 MB / 1.468 GB, free: 11.83 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.81e-07/1.157, allocations: 0 / 1.468 GB, free: 11.83 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002308/1.159, allocations: 0.893 MB / 1.469 GB, free: 10.94 MB / 1.076 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.002466/1.161, allocations: 1.779 MB / 1.471 GB, free: 9.082 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003655/1.165, allocations: 1.84 MB / 1.473 GB, free: 7.219 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.165, allocations: 1.125 kB / 1.473 GB, free: 7.219 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006421/1.166, allocations: 354.9 kB / 1.473 GB, free: 6.859 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/1.17, allocations: 1.242 MB / 1.474 GB, free: 5.656 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/1.193, allocations: 16.47 MB / 1.49 GB, free: 3.973 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.195, allocations: 1.537 MB / 1.492 GB, free: 2.402 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002149/1.197, allocations: 473.8 kB / 1.492 GB, free: 1.938 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/1.198, allocations: 0.7922 MB / 1.493 GB, free: 1.145 MB / 1.092 GB Notification: Performance of SimCode: time 6.41e-07/1.198, allocations: 4 kB / 1.493 GB, free: 1.141 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.104/3.302, allocations: 57.97 MB / 1.55 GB, free: 7.758 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/16.43, allocations: 3.938 kB / 1.55 GB, free: 7.754 MB / 1.154 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Validation.HeaterFan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches