Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.To_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.009418/0.009418, allocations: 100.6 kB / 15.73 MB, free: 6.48 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.001882/0.001882, allocations: 195.9 kB / 16.67 MB, free: 6.379 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.362/2.362, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.16 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.333, allocations: 140.4 MB / 1.087 GB, free: 1.992 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.003281/0.3364, allocations: 0.8176 MB / 1.088 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000211/0.3366, allocations: 47.78 kB / 1.088 GB, free: 1.125 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.55e-05/0.3367, allocations: 4 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.876e-05/0.3368, allocations: 7.875 kB / 1.088 GB, free: 1.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.337, allocations: 3.938 kB / 1.088 GB, free: 1.109 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.357e-05/0.3371, allocations: 23.97 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.3373, allocations: 67.77 kB / 1.088 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.3375, allocations: 39.97 kB / 1.088 GB, free: 0.9805 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3376, allocations: 27.86 kB / 1.089 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.216e-05/0.3377, allocations: 23.86 kB / 1.089 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.3377, allocations: 4 kB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.917e-05/0.3378, allocations: 8 kB / 1.089 GB, free: 0.918 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.3378, allocations: 19.92 kB / 1.089 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.351e-05/0.3379, allocations: 39.75 kB / 1.089 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.3381, allocations: 78.44 kB / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3381, allocations: 0 / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3381, allocations: 0 / 1.089 GB, free: 0.7852 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.135e-06/0.3382, allocations: 0 / 1.089 GB, free: 0.7852 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.0006757/0.3389, allocations: 380.1 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.3389, allocations: 8.031 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.402e-05/0.339, allocations: 46.67 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.3391, allocations: 12.75 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.3394, allocations: 196.2 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3394, allocations: 4.375 kB / 1.089 GB, free: 56 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3395, allocations: 8.375 kB / 1.089 GB, free: 48 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.3398, allocations: 93.5 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.3398, allocations: 3.938 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3398, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.3399, allocations: 7.984 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.34, allocations: 39.92 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.341, allocations: 436.5 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.677e-05/0.3411, allocations: 41.34 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.977e-05/0.3412, allocations: 21.77 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.3412, allocations: 4 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.3413, allocations: 34.56 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.3413, allocations: 0 / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002744/0.3416, allocations: 53.48 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.716e-05/0.3416, allocations: 77.11 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.3419, allocations: 159.9 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.342, allocations: 25.95 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.3421, allocations: 104 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.3421, allocations: 11.84 kB / 1.09 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.3422, allocations: 21.66 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3424, allocations: 318.8 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.3424, allocations: 4 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-05/0.3425, allocations: 21.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.8e-05/0.3426, allocations: 25.72 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3426, allocations: 0 / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001665/0.3428, allocations: 65.53 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.3428, allocations: 7.938 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3428, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.3429, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.343, allocations: 4 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.343, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.3431, allocations: 15.91 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3431, allocations: 3.984 kB / 1.091 GB, free: 14.3 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 0.000125/0.3433, allocations: 113.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.3433, allocations: 11.84 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.3434, allocations: 15.86 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3434, allocations: 3.938 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3434, allocations: 3.938 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.3435, allocations: 0 / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.3441, allocations: 466.8 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3441, allocations: 7.938 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.273e-05/0.3442, allocations: 4 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3442, allocations: 0 / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.3442, allocations: 8 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3442, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3442, allocations: 0 / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.3444, allocations: 81.89 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.823e-05/0.3445, allocations: 89 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.198e-05/0.3445, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.112e-05/0.3446, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.095e-05/0.3446, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.3446, allocations: 3.938 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001399/0.3448, allocations: 120.9 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.645e-06/0.3448, allocations: 4.031 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003471/0.3451, allocations: 11.94 kB / 1.092 GB, free: 13.25 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.0005822/0.3457, allocations: 0.6093 MB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001379/0.3459, allocations: 23.97 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3459, allocations: 0 / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-05/0.346, allocations: 4 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3463, allocations: 11.91 kB / 1.092 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3483, allocations: 1.33 MB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.3488, allocations: 0.7007 MB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.421e-05/0.3488, allocations: 4.438 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.3489, allocations: 23.42 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of SimCode: time 7.61e-07/0.3489, allocations: 0 / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.3728, allocations: 1.594 MB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.197, allocations: 8 kB / 1.096 GB, free: 8.883 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches