Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.397/2.397, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 182.2 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.543/1.543, allocations: 223.2 MB / 0.7992 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009795/0.0009795, allocations: 100.2 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 11.78 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.5187, allocations: 149.6 MB / 1.375 GB, free: 3.941 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/0.519, allocations: 63.95 kB / 1.375 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002742/0.5218, allocations: 1.091 MB / 1.376 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5218, allocations: 0 / 1.376 GB, free: 2.785 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.5218, allocations: 224 / 1.376 GB, free: 2.785 MB / 0.8698 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.0004116/0.5222, allocations: 367.9 kB / 1.377 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5223, allocations: 11.97 kB / 1.377 GB, free: 2.367 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.5224, allocations: 23.84 kB / 1.377 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.5226, allocations: 178.8 kB / 1.377 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5226, allocations: 4 kB / 1.377 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.5226, allocations: 8 kB / 1.377 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.5228, allocations: 88.95 kB / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.5228, allocations: 0 / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.5228, allocations: 0 / 1.377 GB, free: 2.02 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5229, allocations: 4 kB / 1.377 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.054e-05/0.523, allocations: 47.91 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006704/0.5236, allocations: 440.5 kB / 1.378 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.97e-05/0.5237, allocations: 45.28 kB / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.135e-06/0.5237, allocations: 0 / 1.378 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.5238, allocations: 38.67 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5238, allocations: 0 / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002038/0.524, allocations: 49.77 kB / 1.378 GB, free: 1.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.524, allocations: 81.14 kB / 1.378 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.5242, allocations: 143.6 kB / 1.378 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.5242, allocations: 33.69 kB / 1.378 GB, free: 1.035 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.5243, allocations: 100 kB / 1.378 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.5243, allocations: 11.83 kB / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.5243, allocations: 0 / 1.378 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.5245, allocations: 322.8 kB / 1.378 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.5245, allocations: 4 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.372e-05/0.5245, allocations: 25.7 kB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.06e-05/0.5246, allocations: 13.55 kB / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5246, allocations: 0 / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.704e-05/0.5247, allocations: 61.55 kB / 1.378 GB, free: 496 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.5247, allocations: 7.984 kB / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.5247, allocations: 0 / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.5247, allocations: 0 / 1.378 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.583e-05/0.5248, allocations: 12.06 kB / 1.378 GB, free: 476 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.5248, allocations: 3.938 kB / 1.378 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.5249, allocations: 3.906 kB / 1.378 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.5249, allocations: 4 kB / 1.378 GB, free: 464 kB / 0.8698 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 0.0001011/0.525, allocations: 122.5 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.5251, allocations: 7.906 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.943e-05/0.5251, allocations: 11.86 kB / 1.379 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5251, allocations: 4 kB / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5251, allocations: 0 / 1.379 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5251, allocations: 4 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.5255, allocations: 474.8 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5256, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.5256, allocations: 4 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5256, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.5256, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5256, allocations: 0 / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5256, allocations: 8.047 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001133/0.5257, allocations: 95.52 kB / 1.379 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.5258, allocations: 89 kB / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.5258, allocations: 0 / 1.379 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.209e-05/0.5259, allocations: 4 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.5259, allocations: 8.109 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.5259, allocations: 4 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001015/0.526, allocations: 121.5 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.9e-07/0.526, allocations: 4 kB / 1.379 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001827/0.5262, allocations: 7.953 kB / 1.379 GB, free: 15.39 MB / 0.8855 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.0001608/0.5264, allocations: 103.2 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.5265, allocations: 19.92 kB / 1.38 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5265, allocations: 4.125 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.5265, allocations: 4 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000126/0.5266, allocations: 8.688 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.527, allocations: 194.4 kB / 1.38 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.5273, allocations: 0.6965 MB / 1.38 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.5274, allocations: 8.422 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.5274, allocations: 11.44 kB / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of SimCode: time 3.91e-07/0.5274, allocations: 0 / 1.38 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of Templates: time 0.002578/0.53, allocations: 415.3 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches