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.001683/0.001683, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001893/0.001893, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.235/2.235, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.28 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2728, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.00219/0.275, allocations: 0.8939 MB / 0.9506 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001297/0.2752, allocations: 39.78 kB / 0.9507 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.146e-05/0.2752, allocations: 4 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.2753, allocations: 3.938 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.2754, allocations: 11.92 kB / 0.9507 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.501e-05/0.2754, allocations: 12 kB / 0.9507 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.2755, allocations: 59.84 kB / 0.9508 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.2757, allocations: 43.97 kB / 0.9508 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.913e-05/0.2757, allocations: 27.86 kB / 0.9508 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.2758, allocations: 31.78 kB / 0.9509 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2758, allocations: 8 kB / 0.9509 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.2758, allocations: 4 kB / 0.9509 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.2759, allocations: 19.92 kB / 0.9509 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.2759, allocations: 27.81 kB / 0.9509 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.123e-05/0.276, allocations: 52.19 kB / 0.951 GB, free: 8 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.276, allocations: 0 / 0.951 GB, free: 8 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.276, allocations: 0 / 0.951 GB, free: 8 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.276, allocations: 0 / 0.951 GB, free: 8 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.0004071/0.2764, allocations: 379.1 kB / 0.9513 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2765, allocations: 15.97 kB / 0.9514 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.052e-05/0.2765, allocations: 8.844 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.2767, allocations: 200.1 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2767, allocations: 8.375 kB / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.2768, allocations: 4.375 kB / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.2769, allocations: 99.86 kB / 0.9517 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2769, allocations: 192 / 0.9517 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.2769, allocations: 3.938 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.277, allocations: 4 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.233e-05/0.277, allocations: 47.84 kB / 0.9517 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005454/0.2776, allocations: 428.6 kB / 0.9521 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.2777, allocations: 45.33 kB / 0.9522 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.2777, allocations: 21.78 kB / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.2777, allocations: 0 / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2777, allocations: 34.56 kB / 0.9522 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.2778, allocations: 0 / 0.9522 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001774/0.2779, allocations: 53.48 kB / 0.9523 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.278, allocations: 81.09 kB / 0.9524 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000156/0.2782, allocations: 168.7 kB / 0.9525 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2782, allocations: 25.7 kB / 0.9525 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.551e-05/0.2783, allocations: 104 kB / 0.9526 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.2783, allocations: 15.84 kB / 0.9526 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.2783, allocations: 17.7 kB / 0.9527 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2784, allocations: 314.8 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.013e-05/0.2785, allocations: 11.98 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/0.2785, allocations: 13.72 kB / 0.953 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.2785, allocations: 29.72 kB / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2785, allocations: 0 / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.93e-05/0.2786, allocations: 61.53 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2786, allocations: 4 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2787, allocations: 3.938 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.2787, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.2788, allocations: 11.94 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.2788, allocations: 4.062 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.667e-05/0.2788, allocations: 15.84 kB / 0.9531 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.2788, allocations: 0 / 0.9531 GB, free: 5.547 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.916e-05/0.2789, allocations: 113.8 kB / 0.9532 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.615e-05/0.279, allocations: 11.89 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.279, allocations: 19.75 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.279, allocations: 0 / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.279, allocations: 0 / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.279, allocations: 0 / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.2794, allocations: 478.8 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2794, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.2794, allocations: 4 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2794, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-06/0.2795, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.2795, allocations: 7.984 kB / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2795, allocations: 0 / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.381e-05/0.2796, allocations: 81.84 kB / 0.9538 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.094e-05/0.2796, allocations: 93 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2796, allocations: 0 / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.2797, allocations: 0 / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.685e-05/0.2797, allocations: 7.938 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.2797, allocations: 0 / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.528e-05/0.2798, allocations: 125.3 kB / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2798, allocations: 0 / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002164/0.28, allocations: 8 kB / 0.954 GB, free: 4.504 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.0001071/0.2801, allocations: 95.25 kB / 0.9541 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.191e-05/0.2802, allocations: 15.98 kB / 0.9541 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2802, allocations: 4 kB / 0.9541 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-05/0.2802, allocations: 11.94 kB / 0.9541 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.2804, allocations: 12.19 kB / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.2807, allocations: 204.5 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.281, allocations: 0.7 MB / 0.955 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.281, allocations: 11.44 kB / 0.955 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.281, allocations: 0 / 0.955 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of Templates: time 0.002248/0.2833, allocations: 0.8522 MB / 0.9559 GB, free: 2.527 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