Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.0008811/0.0008815, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005589/0.005589, allocations: 171.9 kB / 16.27 MB, free: 6.648 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.541/1.541, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.332/3.332, allocations: 483.2 MB / 0.7564 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005022, allocations: 13.53 kB / 0.9276 GB, free: 29.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.382, allocations: 164.5 MB / 1.088 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001476/0.3835, allocations: 0.5406 MB / 1.089 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001334/0.3837, allocations: 43.84 kB / 1.089 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.3838, allocations: 0 / 1.089 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.3838, allocations: 3.938 kB / 1.089 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.765e-05/0.3839, allocations: 3.938 kB / 1.089 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.117e-05/0.384, allocations: 15.98 kB / 1.089 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3841, allocations: 63.78 kB / 1.089 GB, free: 9.652 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.3843, allocations: 43.95 kB / 1.089 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.76e-05/0.3844, allocations: 11.88 kB / 1.089 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.953e-05/0.3844, allocations: 19.86 kB / 1.089 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3844, allocations: 4 kB / 1.089 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.3845, allocations: 0 / 1.089 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.3845, allocations: 15.92 kB / 1.089 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.437e-05/0.3846, allocations: 49.45 kB / 1.089 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.3847, allocations: 68.03 kB / 1.089 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3847, allocations: 0 / 1.089 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3847, allocations: 0 / 1.089 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.2e-05/0.3847, allocations: 0 / 1.089 GB, free: 9.438 MB / 0.8419 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.0005071/0.3853, allocations: 371.2 kB / 1.089 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3853, allocations: 8.031 kB / 1.089 GB, free: 9.016 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3854, allocations: 8.844 kB / 1.089 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.3856, allocations: 196.2 kB / 1.09 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.3857, allocations: 8.375 kB / 1.09 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.3857, allocations: 8.375 kB / 1.09 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3859, allocations: 99.72 kB / 1.09 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3859, allocations: 192 / 1.09 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.3859, allocations: 11.94 kB / 1.09 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3859, allocations: 0 / 1.09 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.283e-05/0.386, allocations: 35.98 kB / 1.09 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.3866, allocations: 448.5 kB / 1.09 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.725e-05/0.3867, allocations: 33.16 kB / 1.09 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.3868, allocations: 25.92 kB / 1.09 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.3868, allocations: 7.938 kB / 1.09 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3868, allocations: 34.5 kB / 1.09 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.432e-06/0.3868, allocations: 0 / 1.09 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.000182/0.387, allocations: 57.48 kB / 1.09 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.3871, allocations: 81.11 kB / 1.09 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3873, allocations: 160.3 kB / 1.091 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3873, allocations: 29.95 kB / 1.091 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.3874, allocations: 108 kB / 1.091 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.3874, allocations: 3.906 kB / 1.091 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.3874, allocations: 13.72 kB / 1.091 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.3876, allocations: 318.8 kB / 1.091 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.3876, allocations: 8 kB / 1.091 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.634e-05/0.3877, allocations: 17.7 kB / 1.091 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.882e-05/0.3877, allocations: 33.66 kB / 1.091 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3877, allocations: 4 kB / 1.091 GB, free: 7.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.158e-05/0.3878, allocations: 49.7 kB / 1.091 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3878, allocations: 5.562 kB / 1.091 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3878, allocations: 3.938 kB / 1.091 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.3879, allocations: 11.97 kB / 1.091 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.3879, allocations: 7.938 kB / 1.091 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3879, allocations: 0 / 1.091 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.247e-05/0.388, allocations: 12 kB / 1.091 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.388, allocations: 0 / 1.091 GB, free: 6.996 MB / 0.8419 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.983e-05/0.3881, allocations: 113.8 kB / 1.091 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.3881, allocations: 11.81 kB / 1.091 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.3882, allocations: 19.8 kB / 1.091 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3882, allocations: 0 / 1.091 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.3882, allocations: 3.938 kB / 1.091 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3882, allocations: 0 / 1.091 GB, free: 6.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004481/0.3887, allocations: 474.8 kB / 1.092 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3887, allocations: 0 / 1.092 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.3887, allocations: 4 kB / 1.092 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3887, allocations: 0 / 1.092 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3887, allocations: 4 kB / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3887, allocations: 0 / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3887, allocations: 0 / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.3888, allocations: 85.83 kB / 1.092 GB, free: 6.199 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.265e-05/0.3889, allocations: 89.02 kB / 1.092 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3889, allocations: 3.984 kB / 1.092 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.927e-05/0.389, allocations: 0 / 1.092 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.389, allocations: 4 kB / 1.092 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.389, allocations: 0 / 1.092 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001003/0.3891, allocations: 121.9 kB / 1.092 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3891, allocations: 7.969 kB / 1.092 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001838/0.3893, allocations: 8 kB / 1.092 GB, free: 5.953 MB / 0.8419 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.0001511/0.3895, allocations: 95.25 kB / 1.092 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.618e-05/0.3895, allocations: 15.94 kB / 1.092 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3896, allocations: 0 / 1.092 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.3896, allocations: 12 kB / 1.092 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.3897, allocations: 7.938 kB / 1.092 GB, free: 5.816 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.3901, allocations: 179.1 kB / 1.092 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3905, allocations: 0.7042 MB / 1.093 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.474e-05/0.3905, allocations: 8.422 kB / 1.093 GB, free: 4.867 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.3905, allocations: 15.38 kB / 1.093 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3905, allocations: 0 / 1.093 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of Templates: time 0.002805/0.3933, allocations: 428.6 kB / 1.094 GB, free: 4.434 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches