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 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.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.001677/0.001677, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001638/0.001638, allocations: 193.3 kB / 16.25 MB, free: 6.637 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.613/1.613, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 472.6 MB / 0.7448 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 66.94 kB / 0.9116 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3752, allocations: 159.9 MB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002206/0.3775, allocations: 0.8786 MB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.3776, allocations: 47.72 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.435e-05/0.3777, allocations: 4 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.281e-05/0.3777, allocations: 7.922 kB / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.794e-05/0.3778, allocations: 0 / 1.069 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.807e-05/0.3779, allocations: 15.98 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.378, allocations: 63.8 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.3781, allocations: 43.95 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.3782, allocations: 23.88 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.3783, allocations: 27.84 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.3783, allocations: 7.984 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.3783, allocations: 8 kB / 1.069 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.117e-05/0.3783, allocations: 15.94 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.3784, allocations: 31.73 kB / 1.069 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.3785, allocations: 64.06 kB / 1.069 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3785, allocations: 7.938 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3785, allocations: 4 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3785, allocations: 0 / 1.069 GB, free: 9.41 MB / 0.8262 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.0004446/0.379, allocations: 383.1 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.379, allocations: 8.031 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.379, allocations: 8.844 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.3793, allocations: 192.2 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.3793, allocations: 4.375 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.3793, allocations: 16.36 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3795, allocations: 95.88 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3795, allocations: 4.125 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3795, allocations: 7.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3795, allocations: 4 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.638e-05/0.3796, allocations: 35.98 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005555/0.3802, allocations: 436.5 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.3802, allocations: 37.22 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.604e-05/0.3803, allocations: 21.81 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.3803, allocations: 7.984 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.3803, allocations: 34.56 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3803, allocations: 0 / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.3805, allocations: 53.48 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3806, allocations: 81.11 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3807, allocations: 158.2 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3807, allocations: 25.7 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.39e-05/0.3808, allocations: 112.2 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.3808, allocations: 11.84 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.3809, allocations: 17.72 kB / 1.071 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.381, allocations: 318.8 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.665e-05/0.381, allocations: 4 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.3811, allocations: 21.7 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.228e-05/0.3811, allocations: 33.66 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3811, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.056e-05/0.3812, allocations: 53.61 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3812, allocations: 7.938 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3813, allocations: 11.92 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3813, allocations: 4 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.959e-05/0.3813, allocations: 4 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3813, allocations: 0 / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.3814, allocations: 11.84 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.3814, allocations: 0 / 1.071 GB, free: 6.965 MB / 0.8262 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 7.703e-05/0.3815, allocations: 119.4 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.3815, allocations: 7.906 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.3816, allocations: 19.8 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3816, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3816, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3816, allocations: 3.938 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.382, allocations: 474.8 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.382, allocations: 0 / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.68e-05/0.382, allocations: 4 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.382, allocations: 0 / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.382, allocations: 4 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.382, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.382, allocations: 0 / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.244e-05/0.3821, allocations: 89.83 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.3822, allocations: 85.02 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.3822, allocations: 3.984 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.933e-05/0.3822, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.3823, allocations: 4 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.3823, allocations: 0 / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.158e-05/0.3824, allocations: 125.7 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3824, allocations: 0 / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001856/0.3826, allocations: 11.91 kB / 1.072 GB, free: 5.918 MB / 0.8262 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.0001371/0.3827, allocations: 99.28 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.3828, allocations: 19.94 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3828, allocations: 0 / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.145e-05/0.3828, allocations: 7.984 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001688/0.383, allocations: 17.42 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.3833, allocations: 187 kB / 1.072 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.3836, allocations: 0.6885 MB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.3837, allocations: 12.42 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.3837, allocations: 11.44 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3837, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of Templates: time 0.002473/0.3862, allocations: 456.6 kB / 1.073 GB, free: 4.371 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches