Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001277, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001575/0.001575, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.721/2.721, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004403, allocations: 8 kB / 0.8708 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7842/0.7846, allocations: 153.6 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.0009703/0.7857, allocations: 0.52 MB / 1.021 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001009/0.7858, allocations: 43.78 kB / 1.021 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.184e-05/0.7858, allocations: 0 / 1.021 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.7859, allocations: 7.922 kB / 1.021 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.288e-05/0.7859, allocations: 11.94 kB / 1.021 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.537e-05/0.786, allocations: 8 kB / 1.021 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.51e-05/0.7861, allocations: 39.95 kB / 1.021 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.7862, allocations: 32.14 kB / 1.021 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.482e-05/0.7863, allocations: 19.86 kB / 1.021 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.681e-05/0.7864, allocations: 19.81 kB / 1.021 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.7864, allocations: 4 kB / 1.021 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/0.7864, allocations: 0 / 1.021 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.7864, allocations: 11.92 kB / 1.022 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.7865, allocations: 37.64 kB / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.741e-05/0.7866, allocations: 51.88 kB / 1.022 GB, free: 272 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.7866, allocations: 0 / 1.022 GB, free: 272 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7866, allocations: 0 / 1.022 GB, free: 272 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7866, allocations: 4 kB / 1.022 GB, free: 268 kB / 0.7637 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.0005152/0.7871, allocations: 366.8 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.7872, allocations: 15.98 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/0.7872, allocations: 11.81 kB / 1.022 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.7875, allocations: 186.9 kB / 1.022 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.7876, allocations: 11.98 kB / 1.022 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.7876, allocations: 4 kB / 1.022 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.7878, allocations: 99.25 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.7878, allocations: 4 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.7878, allocations: 7.938 kB / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.7878, allocations: 0 / 1.022 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.683e-05/0.7879, allocations: 35.92 kB / 1.022 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006405/0.7886, allocations: 436.6 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.037e-05/0.7886, allocations: 41.28 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.7887, allocations: 4.125 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.7887, allocations: 30.56 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.7887, allocations: 0 / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0002117/0.7889, allocations: 61.48 kB / 1.023 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.789, allocations: 81.11 kB / 1.023 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.7892, allocations: 159.3 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.7892, allocations: 25.7 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.7893, allocations: 104 kB / 1.023 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.7893, allocations: 15.83 kB / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.7893, allocations: 0 / 1.023 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.7895, allocations: 315.1 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.7895, allocations: 11.98 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.7895, allocations: 21.66 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.698e-05/0.7895, allocations: 8 kB / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7896, allocations: 0 / 1.024 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.711e-05/0.7896, allocations: 57.59 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.7897, allocations: 4 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.7897, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.7897, allocations: 15.94 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.7898, allocations: 11.95 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.7898, allocations: 0 / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.078e-05/0.7899, allocations: 4 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.7899, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 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.0001125/0.79, allocations: 113.8 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.79, allocations: 7.906 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.15e-05/0.7901, allocations: 11.86 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.7901, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7901, allocations: 7.953 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.7901, allocations: 0 / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.7906, allocations: 470.7 kB / 1.024 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.7906, allocations: 7.938 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.7906, allocations: 4 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.7906, allocations: 0 / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.7906, allocations: 3.953 kB / 1.024 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7906, allocations: 4.062 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7907, allocations: 4 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.7908, allocations: 91.55 kB / 1.024 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.7909, allocations: 92.95 kB / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.7909, allocations: 0 / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.7909, allocations: 0 / 1.024 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.791, allocations: 8.031 kB / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.791, allocations: 0 / 1.024 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001081/0.7911, allocations: 124.9 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7911, allocations: 0 / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001859/0.7913, allocations: 7.938 kB / 1.025 GB, free: 12.86 MB / 0.7794 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.0001705/0.7915, allocations: 99.25 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.7916, allocations: 19.92 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.7916, allocations: 4.125 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.7916, allocations: 4 kB / 1.025 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.7918, allocations: 9.25 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.7922, allocations: 182.6 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.7926, allocations: 0.6965 MB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.7926, allocations: 8.422 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.618e-05/0.7927, allocations: 11.44 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.7927, allocations: 0 / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of Templates: time 0.003077/0.7958, allocations: 422.3 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches