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.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_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.00771/0.00771, allocations: 103.6 kB / 15.73 MB, free: 6.445 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.001643/0.001643, allocations: 190.6 kB / 16.67 MB, free: 6.355 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.785/2.785, allocations: 461.9 MB / 0.7348 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.88 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3291, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00193/0.3311, allocations: 0.8305 MB / 1.208 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.3312, allocations: 35.8 kB / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.3313, allocations: 0 / 1.208 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.3313, allocations: 11.86 kB / 1.208 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.3314, allocations: 15.92 kB / 1.208 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.347e-05/0.3315, allocations: 15.98 kB / 1.208 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.931e-05/0.3316, allocations: 63.78 kB / 1.208 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.3317, allocations: 51.91 kB / 1.208 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.3318, allocations: 19.88 kB / 1.208 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.863e-05/0.3319, allocations: 31.84 kB / 1.208 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.3319, allocations: 4 kB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.004e-05/0.3319, allocations: 8 kB / 1.208 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.3319, allocations: 11.94 kB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.332, allocations: 43.67 kB / 1.208 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.3321, allocations: 75.92 kB / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3321, allocations: 0 / 1.208 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3321, allocations: 4 kB / 1.208 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3321, allocations: 4 kB / 1.208 GB, free: 8.887 MB / 0.9669 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.000416/0.3325, allocations: 375.2 kB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3326, allocations: 12.62 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.949e-05/0.3326, allocations: 34.75 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.3327, allocations: 12.84 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.3329, allocations: 192.1 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.3329, allocations: 8.375 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3329, allocations: 4.375 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3331, allocations: 97.36 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.3331, allocations: 3.938 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3331, allocations: 3.938 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3331, allocations: 0 / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.377e-05/0.3332, allocations: 35.98 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.3337, allocations: 440.5 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.203e-05/0.3337, allocations: 41.28 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.3338, allocations: 21.84 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.3338, allocations: 0 / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.3338, allocations: 34.5 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3338, allocations: 4 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.334, allocations: 57.53 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.3341, allocations: 81.05 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.3342, allocations: 165 kB / 1.21 GB, free: 7.07 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3342, allocations: 29.64 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.3343, allocations: 103.9 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.3343, allocations: 0 / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/0.3343, allocations: 25.88 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.3344, allocations: 322.8 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.802e-05/0.3345, allocations: 4 kB / 1.21 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.3345, allocations: 25.64 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.3345, allocations: 25.72 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3345, allocations: 0 / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.123e-05/0.3346, allocations: 65.53 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3347, allocations: 7.938 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3347, allocations: 0 / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3347, allocations: 0 / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.064e-05/0.3347, allocations: 8 kB / 1.211 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3348, allocations: 3.984 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.3348, allocations: 7.922 kB / 1.211 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.3348, allocations: 4 kB / 1.211 GB, free: 6.406 MB / 0.9669 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 6.892e-05/0.3349, allocations: 121.8 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.3349, allocations: 11.84 kB / 1.211 GB, free: 6.266 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.264e-05/0.335, allocations: 11.88 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.335, allocations: 4 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.676e-06/0.335, allocations: 0 / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.335, allocations: 0 / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.3353, allocations: 478.7 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3353, allocations: 64 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.003e-05/0.3354, allocations: 8 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3354, allocations: 0 / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3354, allocations: 0 / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3354, allocations: 0 / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3354, allocations: 4 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.115e-05/0.3355, allocations: 81.77 kB / 1.211 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.3355, allocations: 85.05 kB / 1.211 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3356, allocations: 8 kB / 1.211 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.041e-05/0.3356, allocations: 0 / 1.211 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.004e-05/0.3356, allocations: 0 / 1.211 GB, free: 5.496 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3356, allocations: 4 kB / 1.211 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.309e-05/0.3357, allocations: 115.2 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3357, allocations: 4 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001853/0.3359, allocations: 4 kB / 1.212 GB, free: 5.371 MB / 0.9669 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.0003282/0.3362, allocations: 0.6171 MB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.3363, allocations: 23.86 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3363, allocations: 4 kB / 1.212 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.958e-06/0.3363, allocations: 8.094 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.3365, allocations: 13.53 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.3376, allocations: 1.327 MB / 1.213 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.3378, allocations: 0.6929 MB / 1.214 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.561e-05/0.3379, allocations: 12.42 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.3379, allocations: 19.44 kB / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of SimCode: time 8.12e-07/0.3379, allocations: 0 / 1.214 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.3544, allocations: 1.593 MB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.637, allocations: 13.78 kB / 1.216 GB, free: 0.9961 MB / 0.9669 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