Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001267, allocations: 105.8 kB / 15.98 MB, free: 6.348 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.001244/0.001244, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.315/1.315, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.58/2.58, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 69.55 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2842, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002032/0.2863, allocations: 0.8726 MB / 1.065 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 9.847e-05/0.2864, allocations: 47.78 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.2864, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.2865, allocations: 7.922 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.2866, allocations: 3.938 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.266e-05/0.2866, allocations: 16 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2867, allocations: 59.84 kB / 1.065 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2869, allocations: 43.95 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.2869, allocations: 27.86 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.287, allocations: 31.84 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.287, allocations: 11.94 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.459e-05/0.287, allocations: 8 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.287, allocations: 11.94 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.2871, allocations: 39.73 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.345e-05/0.2872, allocations: 52.17 kB / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2872, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2872, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2872, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8419 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.0004313/0.2876, allocations: 375.2 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2877, allocations: 12.03 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.2877, allocations: 16.75 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.2879, allocations: 200.1 kB / 1.066 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2879, allocations: 4.375 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.288, allocations: 12.31 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.2881, allocations: 86.14 kB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2881, allocations: 192 / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.2881, allocations: 11.94 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2882, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.2882, allocations: 43.92 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.2888, allocations: 436.6 kB / 1.066 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/0.2888, allocations: 41.19 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.423e-05/0.2889, allocations: 21.84 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.2889, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.2889, allocations: 34.56 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2889, allocations: 0 / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000153/0.2891, allocations: 57.47 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.2892, allocations: 85.36 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2893, allocations: 160.1 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2893, allocations: 29.7 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.2894, allocations: 107.9 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-06/0.2894, allocations: 3.906 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.2895, allocations: 17.72 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2896, allocations: 318.8 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.511e-05/0.2896, allocations: 4 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.2897, allocations: 29.66 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.623e-05/0.2897, allocations: 21.72 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2897, allocations: 0 / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.283e-05/0.2898, allocations: 61.53 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.2898, allocations: 8 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2898, allocations: 3.938 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2898, allocations: 4.062 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.2899, allocations: 4 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2899, allocations: 4 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.046e-05/0.2899, allocations: 11.92 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.2899, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8419 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.434e-05/0.29, allocations: 115.2 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.2901, allocations: 11.89 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/0.2901, allocations: 15.81 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.2901, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.2901, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.2901, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.2905, allocations: 470.8 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2906, allocations: 0 / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.2906, allocations: 7.875 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.2906, allocations: 4 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.2906, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2906, allocations: 4.062 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2906, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.539e-05/0.2907, allocations: 81.83 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.112e-05/0.2908, allocations: 89.02 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.2908, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.2908, allocations: 4 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-06/0.2908, allocations: 4.031 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.2908, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.396e-05/0.2909, allocations: 129.8 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.291, allocations: 0 / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001799/0.2911, allocations: 8 kB / 1.068 GB, free: 10.41 MB / 0.8419 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.0001152/0.2913, allocations: 103.2 kB / 1.068 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.2913, allocations: 16 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2913, allocations: 4.125 kB / 1.068 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.2914, allocations: 7.938 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.2915, allocations: 15.34 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.2918, allocations: 212.6 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.2921, allocations: 0.6924 MB / 1.069 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.2922, allocations: 11.44 kB / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.2922, allocations: 0 / 1.069 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of Templates: time 0.002109/0.2943, allocations: 0.8559 MB / 1.07 GB, free: 8.426 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches