Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001213/0.001213, allocations: 98.94 kB / 16.27 MB, free: 5.965 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.001213/0.001213, allocations: 190.7 kB / 17.2 MB, free: 5.59 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.2 MB / 0.6653 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001366, allocations: 67.33 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2824, allocations: 140.4 MB / 0.9503 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002125/0.2846, allocations: 0.8253 MB / 0.9511 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001323/0.2848, allocations: 39.84 kB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.354e-05/0.2848, allocations: 7.938 kB / 0.9511 GB, free: 7.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.932e-05/0.2849, allocations: 3.938 kB / 0.9511 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.285, allocations: 11.86 kB / 0.9511 GB, free: 7.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.927e-05/0.285, allocations: 19.98 kB / 0.9512 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.2851, allocations: 59.84 kB / 0.9512 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000151/0.2853, allocations: 43.91 kB / 0.9513 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.536e-05/0.2854, allocations: 27.86 kB / 0.9513 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.95e-05/0.2854, allocations: 27.84 kB / 0.9513 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.2854, allocations: 8 kB / 0.9513 GB, free: 7.781 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.2855, allocations: 8 kB / 0.9513 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.965e-05/0.2855, allocations: 15.92 kB / 0.9513 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.2855, allocations: 31.81 kB / 0.9514 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.2856, allocations: 71.97 kB / 0.9514 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2856, allocations: 4 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2857, allocations: 0 / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.2857, allocations: 0 / 0.9515 GB, free: 7.652 MB / 0.7325 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.0004563/0.2861, allocations: 379.2 kB / 0.9518 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.2862, allocations: 11.97 kB / 0.9518 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.911e-05/0.2862, allocations: 12.84 kB / 0.9518 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.2864, allocations: 192.1 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.2865, allocations: 4.375 kB / 0.952 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.2865, allocations: 8.375 kB / 0.952 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.2866, allocations: 103.8 kB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2867, allocations: 192 / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.2867, allocations: 3.938 kB / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.2867, allocations: 0 / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.2868, allocations: 35.98 kB / 0.9522 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000536/0.2873, allocations: 436.6 kB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.2874, allocations: 37.16 kB / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.657e-05/0.2874, allocations: 17.84 kB / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.2874, allocations: 0 / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.2875, allocations: 42.59 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 2.675e-06/0.2875, allocations: 0 / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001756/0.2877, allocations: 69.39 kB / 0.9527 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2877, allocations: 77.11 kB / 0.9528 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2879, allocations: 167.2 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.2879, allocations: 25.7 kB / 0.953 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.1e-05/0.288, allocations: 108.2 kB / 0.9531 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.238e-06/0.288, allocations: 7.891 kB / 0.9531 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.288, allocations: 17.72 kB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.2881, allocations: 322.8 kB / 0.9534 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.786e-05/0.2882, allocations: 4 kB / 0.9534 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.317e-05/0.2882, allocations: 17.72 kB / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.156e-05/0.2882, allocations: 29.66 kB / 0.9535 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.2883, allocations: 0 / 0.9535 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.751e-05/0.2884, allocations: 61.59 kB / 0.9535 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2884, allocations: 6.656 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2884, allocations: 3.938 kB / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2884, allocations: 0 / 0.9536 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.2885, allocations: 11.94 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2885, allocations: 0 / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.2885, allocations: 7.844 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.2885, allocations: 4.062 kB / 0.9536 GB, free: 5.211 MB / 0.7325 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.747e-05/0.2886, allocations: 121.8 kB / 0.9537 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.2887, allocations: 7.906 kB / 0.9537 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.2887, allocations: 11.81 kB / 0.9537 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2887, allocations: 4 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.2887, allocations: 3.938 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2887, allocations: 0 / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.2891, allocations: 474.8 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2891, allocations: 0 / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.2892, allocations: 7.984 kB / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2892, allocations: 0 / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.2892, allocations: 0 / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2892, allocations: 0 / 0.9542 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2892, allocations: 4 kB / 0.9542 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.401e-05/0.2893, allocations: 85.84 kB / 0.9543 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.2893, allocations: 89 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.2894, allocations: 3.938 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.119e-05/0.2894, allocations: 0 / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.2894, allocations: 0 / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.2894, allocations: 4 kB / 0.9544 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.2895, allocations: 121.3 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2895, allocations: 4 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001965/0.2897, allocations: 4.031 kB / 0.9545 GB, free: 4.172 MB / 0.7325 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.0001136/0.2898, allocations: 107.2 kB / 0.9546 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.365e-05/0.2899, allocations: 19.94 kB / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2899, allocations: 0 / 0.9546 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.29, allocations: 4 kB / 0.9546 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.2901, allocations: 11.94 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.2905, allocations: 188.8 kB / 0.9548 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2907, allocations: 0.6961 MB / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.2908, allocations: 15.44 kB / 0.9555 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of SimCode: time 1.623e-06/0.2908, allocations: 0 / 0.9555 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of Templates: time 0.002243/0.293, allocations: 0.8637 MB / 0.9563 GB, free: 2.195 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches