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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.004364/0.004364, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001222/0.001222, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.568/2.568, allocations: 482.6 MB / 0.755 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 69.33 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2841, allocations: 162.3 MB / 1.242 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001959/0.2861, allocations: 0.8295 MB / 1.243 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001174/0.2862, allocations: 47.78 kB / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.15e-05/0.2863, allocations: 3.938 kB / 1.243 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.2864, allocations: 15.86 kB / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.317e-05/0.2864, allocations: 3.938 kB / 1.243 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.647e-05/0.2865, allocations: 27.86 kB / 1.243 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.2866, allocations: 55.91 kB / 1.243 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2867, allocations: 47.94 kB / 1.243 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.641e-05/0.2868, allocations: 23.88 kB / 1.243 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.352e-05/0.2868, allocations: 31.78 kB / 1.243 GB, free: 7.809 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2869, allocations: 8 kB / 1.243 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.053e-05/0.2869, allocations: 4 kB / 1.243 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.2869, allocations: 19.88 kB / 1.243 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.287, allocations: 35.8 kB / 1.243 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2871, allocations: 71.86 kB / 1.243 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2871, allocations: 0 / 1.243 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2871, allocations: 4 kB / 1.243 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2871, allocations: 0 / 1.243 GB, free: 7.668 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.0004271/0.2875, allocations: 383.1 kB / 1.243 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2876, allocations: 8.031 kB / 1.243 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.2876, allocations: 42.75 kB / 1.243 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.806e-05/0.2877, allocations: 12.88 kB / 1.243 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.2879, allocations: 192.2 kB / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.2879, allocations: 4.375 kB / 1.244 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.2879, allocations: 16.31 kB / 1.244 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.2881, allocations: 89.83 kB / 1.244 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2881, allocations: 7.875 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2881, allocations: 4 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2881, allocations: 0 / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.466e-05/0.2882, allocations: 39.97 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.2887, allocations: 440.8 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.171e-05/0.2888, allocations: 41.09 kB / 1.244 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.148e-05/0.2888, allocations: 13.84 kB / 1.244 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.2888, allocations: 4 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2889, allocations: 42.5 kB / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.2889, allocations: 0 / 1.244 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.000156/0.289, allocations: 53.58 kB / 1.244 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.2891, allocations: 85.05 kB / 1.244 GB, free: 6 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2892, allocations: 156.3 kB / 1.245 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2893, allocations: 29.7 kB / 1.245 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.295e-05/0.2893, allocations: 100.1 kB / 1.245 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.2894, allocations: 12.08 kB / 1.245 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.2894, allocations: 21.72 kB / 1.245 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.2895, allocations: 318.8 kB / 1.245 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.551e-05/0.2895, allocations: 4 kB / 1.245 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.035e-05/0.2896, allocations: 21.72 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/0.2896, allocations: 25.7 kB / 1.245 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.2896, allocations: 4 kB / 1.245 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.283e-05/0.2897, allocations: 57.59 kB / 1.245 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.2897, allocations: 7.938 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2897, allocations: 4 kB / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.2898, allocations: 0 / 1.245 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.2898, allocations: 7.984 kB / 1.245 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2898, allocations: 0 / 1.245 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.953e-05/0.2899, allocations: 15.89 kB / 1.245 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2899, allocations: 0 / 1.245 GB, free: 5.18 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 8.174e-05/0.29, allocations: 117.9 kB / 1.245 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.29, allocations: 11.89 kB / 1.245 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.29, allocations: 15.95 kB / 1.245 GB, free: 5.027 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.29, allocations: 7.922 kB / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.2901, allocations: 0 / 1.245 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2901, allocations: 4 kB / 1.245 GB, free: 5.016 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.2905, allocations: 470.8 kB / 1.246 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2905, allocations: 4 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.2905, allocations: 0 / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.2905, allocations: 4 kB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.2905, allocations: 0 / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2905, allocations: 0 / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2905, allocations: 0 / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.595e-05/0.2906, allocations: 89.84 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.326e-05/0.2907, allocations: 85.06 kB / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2907, allocations: 0 / 1.246 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.2907, allocations: 4 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.2907, allocations: 7.984 kB / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.2908, allocations: 0 / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.192e-05/0.2908, allocations: 120.3 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2909, allocations: 0 / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001788/0.291, allocations: 11.94 kB / 1.246 GB, free: 4.133 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.0003688/0.2914, allocations: 0.6138 MB / 1.247 GB, free: 3.488 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.995e-05/0.2915, allocations: 19.94 kB / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2915, allocations: 0 / 1.247 GB, free: 3.469 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.044e-05/0.2915, allocations: 12.09 kB / 1.247 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.2917, allocations: 8 kB / 1.247 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2928, allocations: 1.332 MB / 1.248 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.2931, allocations: 0.6963 MB / 1.249 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.883e-05/0.2932, allocations: 8.422 kB / 1.249 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.2932, allocations: 19.42 kB / 1.249 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.2932, allocations: 4 kB / 1.249 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4432/0.7364, allocations: 1.567 MB / 1.25 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.269/10.01, allocations: 9.562 kB / 1.25 GB, free: 15.79 MB / 0.9825 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=400 --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