Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp",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.001035/0.001035, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009552/0.0009551, allocations: 195.8 kB / 16.14 MB, free: 6.648 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.202/1.202, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.385/2.385, allocations: 461.8 MB / 0.7342 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 66.56 kB / 0.8985 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2292, allocations: 157.4 MB / 1.052 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001839/0.2311, allocations: 0.8944 MB / 1.053 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001102/0.2312, allocations: 43.78 kB / 1.053 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.2313, allocations: 0 / 1.053 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.2313, allocations: 7.938 kB / 1.053 GB, free: 7.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.2314, allocations: 3.938 kB / 1.053 GB, free: 7.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.013e-05/0.2314, allocations: 19.98 kB / 1.053 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.2315, allocations: 55.86 kB / 1.053 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.2316, allocations: 51.94 kB / 1.053 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.2317, allocations: 19.88 kB / 1.053 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.068e-05/0.2317, allocations: 27.84 kB / 1.053 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.2317, allocations: 4 kB / 1.053 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.2318, allocations: 4 kB / 1.053 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.2318, allocations: 11.88 kB / 1.053 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.173e-05/0.2318, allocations: 39.73 kB / 1.053 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.184e-05/0.2319, allocations: 67.98 kB / 1.053 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.2319, allocations: 0 / 1.053 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2319, allocations: 4 kB / 1.053 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.2319, allocations: 0 / 1.053 GB, free: 7.031 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.0003652/0.2323, allocations: 375.3 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2323, allocations: 15.97 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.213e-05/0.2324, allocations: 34.75 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.2324, allocations: 8.844 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.2326, allocations: 200.1 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2326, allocations: 12.28 kB / 1.054 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.2326, allocations: 8.312 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.2328, allocations: 93.2 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2328, allocations: 3.938 kB / 1.054 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.2328, allocations: 4 kB / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2328, allocations: 0 / 1.054 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.482e-05/0.2329, allocations: 43.86 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.2334, allocations: 440.5 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.2334, allocations: 41.28 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.141e-05/0.2334, allocations: 21.84 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.2335, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.2335, allocations: 34.56 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.2335, allocations: 0 / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001522/0.2336, allocations: 61.47 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.2337, allocations: 77.11 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2338, allocations: 168.6 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.2338, allocations: 25.7 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.2339, allocations: 104.3 kB / 1.055 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.495e-06/0.2339, allocations: 7.906 kB / 1.055 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.2339, allocations: 13.72 kB / 1.055 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2341, allocations: 322.8 kB / 1.055 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.2341, allocations: 11.94 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.796e-05/0.2341, allocations: 13.72 kB / 1.055 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.731e-05/0.2341, allocations: 29.72 kB / 1.055 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2341, allocations: 3.984 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.212e-05/0.2342, allocations: 53.55 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2342, allocations: 11.94 kB / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.2343, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.2343, allocations: 0 / 1.056 GB, free: 4.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.2343, allocations: 4 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2343, allocations: 7.984 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.2344, allocations: 7.844 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.2344, allocations: 8.062 kB / 1.056 GB, free: 4.539 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 7.587e-05/0.2345, allocations: 109.8 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.2345, allocations: 11.84 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.213e-05/0.2345, allocations: 15.88 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2345, allocations: 3.938 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2345, allocations: 4 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.2346, allocations: 3.984 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.2349, allocations: 474.8 kB / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2349, allocations: 0 / 1.056 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.2349, allocations: 7.938 kB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2349, allocations: 0 / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.2349, allocations: 0 / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2349, allocations: 0 / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.235, allocations: 0 / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.911e-05/0.235, allocations: 85.98 kB / 1.056 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.2351, allocations: 92.94 kB / 1.056 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.2351, allocations: 4 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.93e-05/0.2351, allocations: 0 / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.017e-05/0.2351, allocations: 3.984 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.2351, allocations: 0 / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.505e-05/0.2352, allocations: 119.1 kB / 1.056 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2352, allocations: 3.938 kB / 1.056 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001762/0.2354, allocations: 12.03 kB / 1.057 GB, free: 3.496 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.0003163/0.2357, allocations: 0.6132 MB / 1.057 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.441e-05/0.2358, allocations: 19.92 kB / 1.057 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2358, allocations: 4.156 kB / 1.057 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.899e-06/0.2358, allocations: 4 kB / 1.057 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.236, allocations: 8 kB / 1.057 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.237, allocations: 1.342 MB / 1.058 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.2373, allocations: 0.6965 MB / 1.059 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.2373, allocations: 4.438 kB / 1.059 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.2373, allocations: 27.42 kB / 1.059 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2373, allocations: 0 / 1.059 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009641/0.247, allocations: 1.412 MB / 1.061 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.2472, allocations: 219.1 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.468/1.716, allocations: 4 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_hp.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches