Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001254/0.001254, allocations: 181.6 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008912/0.0008911, allocations: 99.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 11.94 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2522, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.4257, allocations: 131.4 MB / 1.028 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.426, allocations: 63.97 kB / 1.028 GB, free: 12.28 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002658/0.4287, allocations: 1.165 MB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4287, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.4287, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 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.0003693/0.4291, allocations: 379.2 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4291, allocations: 8.031 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.4292, allocations: 19.78 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4293, allocations: 184.1 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.4294, allocations: 4 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.4294, allocations: 8 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.4295, allocations: 91.39 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4296, allocations: 4 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4296, allocations: 0 / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.4296, allocations: 3.984 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.4297, allocations: 51.91 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.4303, allocations: 456.5 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.4303, allocations: 41.34 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.4303, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.4304, allocations: 30.56 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.4304, allocations: 8.062 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001845/0.4306, allocations: 57.53 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.4306, allocations: 81.11 kB / 1.031 GB, free: 9.508 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4308, allocations: 153.3 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4308, allocations: 29.7 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.4309, allocations: 103.9 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.4309, allocations: 11.84 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-06/0.4309, allocations: 4.25 kB / 1.031 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.431, allocations: 322.8 kB / 1.032 GB, free: 8.863 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.431, allocations: 8 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.4311, allocations: 17.7 kB / 1.032 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.4311, allocations: 12 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4311, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.008e-05/0.4312, allocations: 69.48 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4312, allocations: 10.88 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4312, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.4313, allocations: 0 / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.771e-05/0.4313, allocations: 12 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4313, allocations: 0 / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.058e-05/0.4314, allocations: 4.672 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.4314, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.475e-05/0.4315, allocations: 113.8 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.4315, allocations: 19.7 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.4316, allocations: 20.55 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4316, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4316, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.4316, allocations: 0 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003785/0.432, allocations: 482.7 kB / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.432, allocations: 0 / 1.032 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.432, allocations: 4 kB / 1.032 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.432, allocations: 4.062 kB / 1.032 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.432, allocations: 4 kB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.432, allocations: 3.938 kB / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.432, allocations: 0 / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.038e-05/0.4321, allocations: 91.56 kB / 1.032 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.4322, allocations: 89.02 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.4322, allocations: 12.03 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.4323, allocations: 3.984 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.4323, allocations: 0 / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.4323, allocations: 0 / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.501e-05/0.4324, allocations: 128.9 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4324, allocations: 0 / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001692/0.4326, allocations: 15.84 kB / 1.033 GB, free: 7.633 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001236/0.4327, allocations: 95.25 kB / 1.033 GB, free: 7.531 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.639e-05/0.4328, allocations: 27.92 kB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4328, allocations: 0 / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.307e-05/0.4328, allocations: 8 kB / 1.033 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001097/0.4329, allocations: 11.95 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.4333, allocations: 194.1 kB / 1.033 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.4335, allocations: 0.7004 MB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.4336, allocations: 4.438 kB / 1.034 GB, free: 6.535 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.4336, allocations: 15.44 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of SimCode: time 2.91e-07/0.4336, allocations: 0 / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of Templates: time 0.002256/0.4359, allocations: 443.9 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches