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.508/1.508, allocations: 249.5 MB / 257 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.00105, allocations: 168.8 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.651/1.651, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0009512/0.0009512, allocations: 90.47 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.576e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2311, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7205/0.9517, allocations: 131.6 MB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.952, allocations: 67.89 kB / 1.014 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003174/0.9552, allocations: 1.155 MB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9552, allocations: 0 / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.9553, allocations: 4 kB / 1.015 GB, free: 5.055 MB / 0.6355 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.0004498/0.9557, allocations: 366 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/0.9558, allocations: 8.031 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.9559, allocations: 11.91 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.9561, allocations: 178.9 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.9561, allocations: 4 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.9562, allocations: 4 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001116/0.9563, allocations: 35.5 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.9564, allocations: 84.95 kB / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.9564, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.9564, allocations: 0 / 1.016 GB, free: 4.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.9565, allocations: 4 kB / 1.016 GB, free: 4.312 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/0.9569, allocations: 415.3 kB / 1.016 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.894e-05/0.957, allocations: 48.95 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.9571, allocations: 15.78 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.669e-06/0.9571, allocations: 3.984 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.9571, allocations: 41.23 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.9571, allocations: 0 / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001473/0.9573, allocations: 49.45 kB / 1.016 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.9573, allocations: 77.11 kB / 1.016 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.9574, allocations: 126 kB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.9574, allocations: 25.7 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.136e-05/0.9575, allocations: 111.8 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.9575, allocations: 11.77 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.9575, allocations: 0 / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.9577, allocations: 314.8 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.189e-05/0.9577, allocations: 11.91 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.906e-05/0.9578, allocations: 19.94 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.34e-05/0.9578, allocations: 15.73 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.9578, allocations: 4 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.07e-05/0.9579, allocations: 49.59 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.9579, allocations: 4 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.9579, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.958, allocations: 4.062 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.9581, allocations: 11.98 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.9581, allocations: 3.984 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.9581, allocations: 7.844 kB / 1.017 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.9581, allocations: 4 kB / 1.017 GB, free: 2.906 MB / 0.6355 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 8.683e-05/0.9582, allocations: 110.9 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.9583, allocations: 7.953 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/0.9583, allocations: 7.922 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9583, allocations: 4.219 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9583, allocations: 4 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.9583, allocations: 3.938 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.9588, allocations: 454.4 kB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.9588, allocations: 0 / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.9588, allocations: 8.484 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.9589, allocations: 0 / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.9589, allocations: 4 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9589, allocations: 0.6875 kB / 1.018 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9589, allocations: 4.062 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.959, allocations: 86.64 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.9591, allocations: 85.09 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.9591, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.011e-05/0.9591, allocations: 0 / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.9592, allocations: 11.97 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.9592, allocations: 7.938 kB / 1.018 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001126/0.9593, allocations: 104.2 kB / 1.018 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9593, allocations: 3.938 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001842/0.9595, allocations: 12 kB / 1.018 GB, free: 1.945 MB / 0.6355 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.0001045/0.9596, allocations: 95.25 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.9597, allocations: 11.88 kB / 1.018 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.9597, allocations: 8.125 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.249e-05/0.9597, allocations: 11.75 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001038/0.9598, allocations: 3.953 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002474/0.9601, allocations: 108.8 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.9603, allocations: 0.6963 MB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.725e-05/0.9604, allocations: 12.3 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.9604, allocations: 7.438 kB / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of SimCode: time 1.794e-06/0.9604, allocations: 0 / 1.019 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of Templates: time 0.002073/0.9625, allocations: 317.3 kB / 1.019 GB, free: 0.6445 MB / 0.6355 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