Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.367/2.367, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001105/0.001105, allocations: 180.8 kB / 487.4 MB, free: 5.074 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.657/1.657, allocations: 221.5 MB / 0.7824 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009312/0.0009312, allocations: 103.7 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.81e-05/1.83e-05, allocations: 8 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2591, allocations: 142.4 MB / 1.206 GB, free: 44.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9555/1.215, allocations: 148.1 MB / 1.351 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.215, allocations: 67.42 kB / 1.351 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003823/1.219, allocations: 1.085 MB / 1.352 GB, free: 34.06 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.219, allocations: 7.938 kB / 1.352 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.219, allocations: 0 / 1.352 GB, free: 34.05 MB / 0.8386 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.0003558/1.219, allocations: 354.5 kB / 1.352 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/1.219, allocations: 8.219 kB / 1.352 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.426e-05/1.219, allocations: 12.41 kB / 1.352 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/1.22, allocations: 176.1 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.22, allocations: 7.781 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/1.22, allocations: 3.844 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001239/1.22, allocations: 32.77 kB / 1.352 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/1.22, allocations: 82.56 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/1.22, allocations: 0 / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/1.22, allocations: 0 / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.22, allocations: 3.844 kB / 1.352 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/1.221, allocations: 415.3 kB / 1.353 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/1.221, allocations: 32.3 kB / 1.353 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.338e-05/1.221, allocations: 24.48 kB / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/1.221, allocations: 0 / 1.353 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/1.221, allocations: 36.48 kB / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/1.221, allocations: 0 / 1.353 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002047/1.221, allocations: 44 kB / 1.353 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/1.221, allocations: 78.36 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/1.221, allocations: 117 kB / 1.353 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/1.221, allocations: 27.23 kB / 1.353 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/1.221, allocations: 108.2 kB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/1.221, allocations: 5.828 kB / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/1.221, allocations: 0 / 1.353 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.221, allocations: 317.5 kB / 1.353 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/1.222, allocations: 11.53 kB / 1.354 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.834e-05/1.222, allocations: 17.55 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/1.222, allocations: 9.766 kB / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.222, allocations: 0 / 1.354 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001167/1.222, allocations: 58.28 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.222, allocations: 7.641 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/1.222, allocations: 1.281 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/1.222, allocations: 1.25 kB / 1.354 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.789e-05/1.222, allocations: 10.23 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/1.222, allocations: 1.422 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/1.222, allocations: 5.312 kB / 1.354 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/1.222, allocations: 5.938 kB / 1.354 GB, free: 32.23 MB / 0.8386 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 () * 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.079e-05/1.222, allocations: 102.3 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/1.222, allocations: 13.84 kB / 1.354 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/1.222, allocations: 10.8 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.222, allocations: 5.984 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.222, allocations: 3.984 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.222, allocations: 1.281 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/1.223, allocations: 445 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.223, allocations: 0 / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/1.223, allocations: 4.641 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.223, allocations: 0 / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/1.223, allocations: 2.141 kB / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.223, allocations: 0 / 1.354 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.223, allocations: 5.156 kB / 1.354 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.03e-05/1.223, allocations: 91.73 kB / 1.354 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/1.223, allocations: 85.88 kB / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/1.223, allocations: 1.344 kB / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.048e-05/1.223, allocations: 1.969 kB / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/1.223, allocations: 2.141 kB / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-06/1.223, allocations: 0 / 1.354 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001051/1.223, allocations: 101.3 kB / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.8e-07/1.223, allocations: 0 / 1.354 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000343/1.224, allocations: 11.75 kB / 1.354 GB, free: 31.39 MB / 0.8386 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 () * 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.0001224/1.224, allocations: 97.3 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.464e-05/1.224, allocations: 15.78 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.224, allocations: 1.25 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/1.224, allocations: 8.547 kB / 1.355 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001573/1.224, allocations: 5.516 kB / 1.355 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002922/1.224, allocations: 106.5 kB / 1.355 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/1.225, allocations: 0.6973 MB / 1.355 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.623e-05/1.225, allocations: 4.688 kB / 1.355 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/1.225, allocations: 8.781 kB / 1.355 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.225, allocations: 1.312 kB / 1.355 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of Templates: time 0.002814/1.228, allocations: 301 kB / 1.356 GB, free: 30.44 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches