Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.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.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O",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.001601/0.001601, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.002182/0.002181, allocations: 193.6 kB / 16.25 MB, free: 6.152 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.766/1.766, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.41/3.41, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 64.44 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3132/0.3144, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O): time 0.003124/0.3176, allocations: 0.8803 MB / 1.053 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000156/0.3178, allocations: 39.8 kB / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3179, allocations: 0 / 1.053 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.476e-05/0.318, allocations: 3.938 kB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3181, allocations: 11.92 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.617e-05/0.3182, allocations: 12 kB / 1.053 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.3183, allocations: 63.83 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.3185, allocations: 47.97 kB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.3186, allocations: 31.8 kB / 1.053 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.3187, allocations: 27.86 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.3187, allocations: 8 kB / 1.054 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.796e-05/0.3187, allocations: 11.94 kB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3188, allocations: 7.984 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.457e-05/0.3188, allocations: 39.75 kB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.319, allocations: 75.91 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.319, allocations: 0 / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.904e-06/0.319, allocations: 0 / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.319, allocations: 0 / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005373/0.3196, allocations: 371.3 kB / 1.054 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.3196, allocations: 12.62 kB / 1.054 GB, free: 6.945 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.776e-05/0.3197, allocations: 46.73 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.3198, allocations: 8.844 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.32, allocations: 196.1 kB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3201, allocations: 12.28 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3201, allocations: 4.375 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3204, allocations: 95.92 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.3204, allocations: 11.88 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3204, allocations: 4 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.3205, allocations: 4 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.3206, allocations: 31.98 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007778/0.3214, allocations: 440.7 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.263e-05/0.3215, allocations: 41.09 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.3216, allocations: 25.83 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.3216, allocations: 0 / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.3216, allocations: 34.5 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.3216, allocations: 0 / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002418/0.3219, allocations: 57.77 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.322, allocations: 81.05 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.3222, allocations: 164.2 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3222, allocations: 25.7 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.3223, allocations: 100 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.396e-05/0.3223, allocations: 7.906 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.3224, allocations: 17.7 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3225, allocations: 318.8 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.168e-05/0.3226, allocations: 12.03 kB / 1.056 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.3226, allocations: 17.7 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.424e-05/0.3227, allocations: 25.72 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3227, allocations: 0 / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001352/0.3229, allocations: 57.53 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3229, allocations: 13.5 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3229, allocations: 4.062 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.323, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.3231, allocations: 8 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3231, allocations: 0 / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.553e-05/0.3231, allocations: 19.72 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3232, allocations: 11.92 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001038/0.3233, allocations: 113.8 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.916e-05/0.3234, allocations: 11.84 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.3234, allocations: 7.859 kB / 1.056 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3234, allocations: 8 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3234, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3234, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005556/0.324, allocations: 470.8 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.324, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.3241, allocations: 4 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.3241, allocations: 0 / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3241, allocations: 4.062 kB / 1.056 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3241, allocations: 4 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.3241, allocations: 3.984 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.3243, allocations: 81.78 kB / 1.056 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.3243, allocations: 89 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3244, allocations: 4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.3244, allocations: 32 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.3245, allocations: 4 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3245, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001355/0.3246, allocations: 122.1 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3246, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000366/0.325, allocations: 8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004629/0.3255, allocations: 0.6171 MB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.3256, allocations: 15.94 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.3256, allocations: 4 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.842e-05/0.3257, allocations: 8 kB / 1.057 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.3259, allocations: 6.234 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.3276, allocations: 1.343 MB / 1.059 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3279, allocations: 0.697 MB / 1.059 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.521e-05/0.328, allocations: 12.5 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.3281, allocations: 23.44 kB / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of SimCode: time 2.294e-06/0.3281, allocations: 0 / 1.059 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8309/1.159, allocations: 1.472 MB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.159, allocations: 215.2 kB / 1.061 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/3.171, allocations: 0 / 1.061 GB, free: 15.37 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches