Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007798/0.007798, allocations: 102 kB / 15.73 MB, free: 6.039 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.001322/0.001322, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.2 MB / 0.6648 GB, free: 92 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.78 kB / 0.9504 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3014, allocations: 140.4 MB / 1.087 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002192/0.3036, allocations: 0.8277 MB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001854/0.3038, allocations: 47.78 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.217e-05/0.3039, allocations: 0 / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.714e-05/0.304, allocations: 11.86 kB / 1.088 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.987e-05/0.3041, allocations: 11.88 kB / 1.088 GB, free: 1.055 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.311e-05/0.3041, allocations: 15.98 kB / 1.088 GB, free: 1.039 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.3043, allocations: 63.84 kB / 1.088 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3044, allocations: 43.94 kB / 1.088 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.088e-05/0.3045, allocations: 23.88 kB / 1.088 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.8e-05/0.3046, allocations: 35.78 kB / 1.089 GB, free: 0.875 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.3046, allocations: 8 kB / 1.089 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.015e-05/0.3046, allocations: 8 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.3046, allocations: 11.94 kB / 1.089 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.249e-05/0.3047, allocations: 39.73 kB / 1.089 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3048, allocations: 70.52 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3048, allocations: 0 / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3048, allocations: 0 / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.3049, allocations: 0 / 1.089 GB, free: 0.7422 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.0004865/0.3054, allocations: 380.1 kB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.3054, allocations: 16.03 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.569e-05/0.3055, allocations: 38.69 kB / 1.089 GB, free: 264 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.3055, allocations: 16.73 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3058, allocations: 192.2 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3058, allocations: 8.375 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.3058, allocations: 8.375 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3061, allocations: 90.23 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3061, allocations: 7.938 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3061, allocations: 8 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3061, allocations: 0 / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.957e-05/0.3062, allocations: 35.98 kB / 1.089 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.3067, allocations: 440.5 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.3068, allocations: 37.16 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.3068, allocations: 21.84 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.3069, allocations: 7.969 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.3069, allocations: 34.56 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.3069, allocations: 0 / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.3071, allocations: 61.69 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.3071, allocations: 85.14 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3073, allocations: 156.5 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.3073, allocations: 25.7 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/0.3074, allocations: 104 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.3074, allocations: 3.906 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.3074, allocations: 21.66 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3076, allocations: 322.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.3076, allocations: 4 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.3076, allocations: 21.72 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.219e-05/0.3077, allocations: 29.64 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3077, allocations: 0 / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001444/0.3078, allocations: 53.61 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3078, allocations: 11.94 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3079, allocations: 64 / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3079, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.3079, allocations: 7.938 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.308, allocations: 7.984 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.308, allocations: 7.844 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.308, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 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.84e-05/0.3081, allocations: 109.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/0.3081, allocations: 11.84 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.3082, allocations: 11.88 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3082, allocations: 4 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3082, allocations: 4 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3082, allocations: 3.984 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.3086, allocations: 466.8 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3086, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.024e-05/0.3086, allocations: 4 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.3086, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.3086, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3086, allocations: 4.062 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3087, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.029e-05/0.3087, allocations: 89.77 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.166e-05/0.3088, allocations: 81.02 kB / 1.092 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3088, allocations: 4 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.3088, allocations: 0 / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.3089, allocations: 8.016 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.3089, allocations: 0 / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.384e-05/0.309, allocations: 125.4 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.309, allocations: 0 / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001911/0.3092, allocations: 8 kB / 1.092 GB, free: 13.21 MB / 0.8575 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.000481/0.3097, allocations: 0.6249 MB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.3098, allocations: 15.98 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3098, allocations: 4 kB / 1.092 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.3098, allocations: 7.938 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.31, allocations: 7.906 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.3112, allocations: 1.332 MB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.3115, allocations: 0.6967 MB / 1.094 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.3116, allocations: 8.422 kB / 1.094 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.909e-05/0.3116, allocations: 27.42 kB / 1.094 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.3117, allocations: 7.938 kB / 1.094 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.3295, allocations: 1.59 MB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.284, allocations: 0 / 1.096 GB, free: 8.836 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches