Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_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.001498/0.001498, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001456/0.001456, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.57/2.57, allocations: 469.8 MB / 0.7427 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 67.38 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2941, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002116/0.2963, allocations: 0.8899 MB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001018/0.2964, allocations: 39.84 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.2964, allocations: 4 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.148e-05/0.2965, allocations: 3.938 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.517e-05/0.2966, allocations: 7.938 kB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.53e-05/0.2966, allocations: 11.98 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2967, allocations: 63.84 kB / 1.065 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.2969, allocations: 51.89 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.2969, allocations: 19.88 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.297, allocations: 31.84 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.297, allocations: 4 kB / 1.065 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.297, allocations: 8 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.2971, allocations: 11.94 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.46e-05/0.2971, allocations: 39.73 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.531e-05/0.2972, allocations: 52.17 kB / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2972, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2972, allocations: 0 / 1.065 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2972, allocations: 4 kB / 1.065 GB, free: 13.88 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.000431/0.2977, allocations: 379.2 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.2977, allocations: 8.031 kB / 1.066 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.489e-05/0.2977, allocations: 12.75 kB / 1.066 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.298, allocations: 192.2 kB / 1.066 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.298, allocations: 8.375 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.298, allocations: 8.375 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.2982, allocations: 95.88 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2982, allocations: 192 / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.2982, allocations: 11.94 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2982, allocations: 0 / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.258e-05/0.2983, allocations: 35.98 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.2988, allocations: 436.5 kB / 1.066 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/0.2989, allocations: 33.16 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.2989, allocations: 25.83 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.2989, allocations: 3.984 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.299, allocations: 38.59 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.021e-06/0.299, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001708/0.2992, allocations: 57.42 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.2992, allocations: 85.11 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.2994, allocations: 160.3 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2994, allocations: 25.7 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.2995, allocations: 115.9 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.2995, allocations: 4.156 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.2995, allocations: 21.72 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2997, allocations: 322.8 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.2997, allocations: 0 / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.688e-05/0.2997, allocations: 25.7 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.943e-05/0.2998, allocations: 25.66 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2998, allocations: 4 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.382e-05/0.2999, allocations: 53.61 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2999, allocations: 11.98 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2999, allocations: 3.938 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.2999, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.576e-05/0.3, allocations: 7.938 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3, allocations: 4 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.3, allocations: 7.844 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.3, allocations: 0 / 1.067 GB, free: 11.44 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 7.611e-05/0.3001, allocations: 117.9 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.3002, allocations: 7.906 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.3002, allocations: 19.8 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3002, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3002, allocations: 4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.3002, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.3006, allocations: 466.8 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3006, allocations: 4.062 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.3006, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3007, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.074e-06/0.3007, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3007, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3007, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.696e-05/0.3008, allocations: 89.77 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.356e-05/0.3008, allocations: 85.02 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.3009, allocations: 7.984 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.3009, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-06/0.3009, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.3009, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.161e-05/0.301, allocations: 130.2 kB / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.301, allocations: 0 / 1.068 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001783/0.3012, allocations: 8 kB / 1.068 GB, free: 10.39 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.0001077/0.3013, allocations: 103.2 kB / 1.068 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.3014, allocations: 19.94 kB / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3014, allocations: 0 / 1.068 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.181e-05/0.3014, allocations: 7.984 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/0.3016, allocations: 11.94 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.3019, allocations: 211.9 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3022, allocations: 0.6963 MB / 1.069 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.3022, allocations: 11.44 kB / 1.069 GB, free: 9.27 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3022, allocations: 3.938 kB / 1.069 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of Templates: time 0.002245/0.3045, allocations: 0.8561 MB / 1.07 GB, free: 8.406 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches