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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001601/0.001601, allocations: 102.5 kB / 16.35 MB, free: 5.879 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.001744/0.001744, allocations: 194.3 kB / 17.3 MB, free: 5.52 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.318/2.318, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 62.89 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002262/0.3303, allocations: 0.8303 MB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001118/0.3304, allocations: 39.78 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.3305, allocations: 4 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.769e-05/0.3305, allocations: 15.86 kB / 0.952 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.3306, allocations: 7.875 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.968e-05/0.3307, allocations: 19.98 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.3308, allocations: 59.83 kB / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.3309, allocations: 39.98 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.217e-05/0.331, allocations: 27.86 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.3311, allocations: 27.8 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3311, allocations: 4 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.3311, allocations: 8 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.3311, allocations: 15.92 kB / 0.9522 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.3312, allocations: 35.8 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3313, allocations: 67.72 kB / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.3313, allocations: 4 kB / 0.9523 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3313, allocations: 4 kB / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.3313, allocations: 3.984 kB / 0.9523 GB, free: 6.848 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.0004328/0.3318, allocations: 379.2 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.3318, allocations: 11.97 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.3319, allocations: 12.78 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.3321, allocations: 200.1 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.3321, allocations: 4.375 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3321, allocations: 12.38 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3323, allocations: 101.8 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3323, allocations: 192 / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3323, allocations: 3.938 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.3323, allocations: 4 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.3324, allocations: 39.92 kB / 0.953 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.333, allocations: 428.6 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.907e-05/0.333, allocations: 45.2 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.3331, allocations: 13.78 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.3331, allocations: 4.031 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3331, allocations: 38.56 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.3331, allocations: 4 kB / 0.9535 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001676/0.3333, allocations: 57.47 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.3334, allocations: 77.11 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3335, allocations: 167.8 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-05/0.3336, allocations: 25.7 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.3337, allocations: 104 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.828e-06/0.3337, allocations: 7.891 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.3338, allocations: 21.97 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.3339, allocations: 314.8 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.3339, allocations: 7.984 kB / 0.9543 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.942e-05/0.334, allocations: 17.72 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.276e-05/0.3341, allocations: 29.66 kB / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3341, allocations: 0 / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.066e-05/0.3341, allocations: 61.59 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3342, allocations: 4 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.3342, allocations: 4.031 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3342, allocations: 7.984 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.515e-05/0.3343, allocations: 7.938 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3343, allocations: 3.938 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.08e-05/0.3343, allocations: 11.84 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.3343, allocations: 0 / 0.9544 GB, free: 4.398 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 0.0001498/0.3345, allocations: 123.9 kB / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.3345, allocations: 7.906 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.3346, allocations: 15.81 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3346, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3346, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3346, allocations: 0 / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.335, allocations: 466.8 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.335, allocations: 0 / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.666e-05/0.335, allocations: 8.062 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.335, allocations: 3.984 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.335, allocations: 4 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.335, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3351, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.503e-05/0.3351, allocations: 85.72 kB / 0.9551 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.3352, allocations: 93.03 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.3352, allocations: 4 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.035e-05/0.3353, allocations: 0 / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.3353, allocations: 8 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.3353, allocations: 0 / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.907e-05/0.3354, allocations: 122.3 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3354, allocations: 0 / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000185/0.3356, allocations: 8 kB / 0.9553 GB, free: 3.359 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.0001109/0.3357, allocations: 99.25 kB / 0.9554 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.02e-05/0.3358, allocations: 23.92 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3358, allocations: 0 / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.3358, allocations: 4 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.336, allocations: 12.97 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.3363, allocations: 162.8 kB / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.3365, allocations: 0.7041 MB / 0.9563 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.3365, allocations: 8.422 kB / 0.9563 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.3366, allocations: 11.44 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.3366, allocations: 0 / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.002418/0.339, allocations: 456.5 kB / 0.9568 GB, free: 1.824 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 -s cvode -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