Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 184.2 kB / 16.92 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0006067/0.0006071, allocations: 19.94 kB / 0.8735 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.6841, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001081/0.6852, allocations: 0.5471 MB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001387/0.6854, allocations: 43.78 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.412e-05/0.6855, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.6855, allocations: 3.938 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.283e-05/0.6856, allocations: 3.984 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.787e-05/0.6857, allocations: 12 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.6858, allocations: 63.78 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.686, allocations: 39.95 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.12e-05/0.686, allocations: 23.86 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.6861, allocations: 19.86 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.6861, allocations: 0 / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.6861, allocations: 4 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.6862, allocations: 3.938 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.6862, allocations: 53.45 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.6863, allocations: 57.78 kB / 1.025 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6863, allocations: 4 kB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6863, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.6864, allocations: 4 kB / 1.025 GB, free: 15.02 MB / 0.7794 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.0004545/0.6868, allocations: 367.2 kB / 1.025 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6869, allocations: 8.031 kB / 1.025 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.159e-05/0.6869, allocations: 12.84 kB / 1.025 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.6871, allocations: 184.2 kB / 1.025 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.6872, allocations: 12.38 kB / 1.025 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.6872, allocations: 12.38 kB / 1.025 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.6874, allocations: 97.59 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.6874, allocations: 192 / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.6874, allocations: 7.938 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6874, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.6875, allocations: 39.92 kB / 1.025 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005918/0.6881, allocations: 436.6 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.728e-05/0.6882, allocations: 37.25 kB / 1.026 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.6882, allocations: 21.77 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.417e-06/0.6883, allocations: 4 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.6883, allocations: 34.56 kB / 1.026 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.572e-06/0.6883, allocations: 3.938 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001818/0.6885, allocations: 53.48 kB / 1.026 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.6886, allocations: 81.11 kB / 1.026 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.6887, allocations: 160.7 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.6887, allocations: 25.95 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.6888, allocations: 116 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-06/0.6888, allocations: 7.906 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.6889, allocations: 9.719 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.689, allocations: 318.8 kB / 1.027 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.689, allocations: 8 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.696e-05/0.6891, allocations: 21.7 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.896e-05/0.6891, allocations: 33.66 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6891, allocations: 3.938 kB / 1.027 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.968e-05/0.6892, allocations: 53.55 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6892, allocations: 7.984 kB / 1.027 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.6893, allocations: 7.938 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.6893, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.367e-05/0.6893, allocations: 4 kB / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6894, allocations: 0 / 1.027 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.6894, allocations: 7.906 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.6894, allocations: 4.062 kB / 1.027 GB, free: 12.6 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.953e-05/0.6895, allocations: 113.8 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.6896, allocations: 7.906 kB / 1.027 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.6896, allocations: 19.8 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6896, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6896, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.6896, allocations: 4 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.69, allocations: 470.8 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.69, allocations: 4 kB / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.793e-05/0.69, allocations: 0 / 1.027 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6901, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.6901, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6901, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6901, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.782e-05/0.6902, allocations: 85.83 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.084e-05/0.6902, allocations: 97.03 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.6903, allocations: 3.984 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.254e-05/0.6903, allocations: 4 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.016e-05/0.6903, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.6903, allocations: 0 / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.595e-05/0.6904, allocations: 119.2 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6904, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000245/0.6907, allocations: 15.97 kB / 1.028 GB, free: 11.55 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001267/0.6908, allocations: 99.23 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.844e-05/0.6909, allocations: 19.94 kB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6909, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-05/0.6909, allocations: 11.98 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.6911, allocations: 14.33 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.6914, allocations: 210.3 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.6917, allocations: 0.6926 MB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.6917, allocations: 15.44 kB / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of SimCode: time 3.1e-07/0.6917, allocations: 0 / 1.029 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of Templates: time 0.002305/0.6941, allocations: 0.8481 MB / 1.029 GB, free: 9.57 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches