Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_10_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.004625/0.004626, allocations: 98.42 kB / 15.73 MB, free: 6.031 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.001262/0.001262, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.342/2.342, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 68.11 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6132/0.6149, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001695/0.6167, allocations: 0.8388 MB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 9.327e-05/0.6168, allocations: 39.8 kB / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.364e-05/0.6168, allocations: 0 / 1.167 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.481e-05/0.6169, allocations: 11.86 kB / 1.167 GB, free: 2.859 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.681e-05/0.6169, allocations: 7.938 kB / 1.167 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.226e-05/0.617, allocations: 15.98 kB / 1.167 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.6171, allocations: 71.77 kB / 1.167 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.6172, allocations: 43.97 kB / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.105e-05/0.6173, allocations: 23.88 kB / 1.167 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/0.6174, allocations: 27.84 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.6174, allocations: 8 kB / 1.167 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-06/0.6174, allocations: 8 kB / 1.167 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.6174, allocations: 11.94 kB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.6175, allocations: 31.8 kB / 1.167 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.6176, allocations: 79.3 kB / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.6176, allocations: 0 / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6176, allocations: 0 / 1.167 GB, free: 2.539 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.6176, allocations: 0 / 1.167 GB, free: 2.539 MB / 0.8887 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.0004017/0.618, allocations: 383.1 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.618, allocations: 8.625 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.6181, allocations: 46.69 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.414e-05/0.6181, allocations: 12.84 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.6183, allocations: 200.1 kB / 1.168 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.6183, allocations: 8.375 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.6184, allocations: 8.375 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001331/0.6185, allocations: 86.39 kB / 1.168 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.6185, allocations: 3.938 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6185, allocations: 7.938 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.6185, allocations: 8 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.58e-05/0.6186, allocations: 35.92 kB / 1.168 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004876/0.6191, allocations: 440.6 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.511e-05/0.6192, allocations: 41.34 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.6192, allocations: 21.78 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.6192, allocations: 4 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.6192, allocations: 30.56 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6192, allocations: 0 / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001438/0.6194, allocations: 57.52 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.6195, allocations: 81.36 kB / 1.169 GB, free: 0.8672 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.6196, allocations: 160.5 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6196, allocations: 25.7 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/0.6197, allocations: 108.1 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.046e-06/0.6197, allocations: 3.953 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.6197, allocations: 17.66 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6199, allocations: 318.8 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.648e-05/0.6199, allocations: 8 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.6199, allocations: 17.72 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.62, allocations: 33.7 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.62, allocations: 0 / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.618e-05/0.62, allocations: 57.55 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.6201, allocations: 10.44 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6201, allocations: 4 kB / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6201, allocations: 64 / 1.17 GB, free: 72 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.6201, allocations: 15.92 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.6202, allocations: 0 / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.934e-05/0.6202, allocations: 11.94 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.6202, allocations: 0 / 1.17 GB, free: 44 kB / 0.8887 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 9.196e-05/0.6203, allocations: 116 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.916e-05/0.6203, allocations: 11.89 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.6204, allocations: 7.875 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.6204, allocations: 3.938 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6204, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.6204, allocations: 12.06 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.6208, allocations: 470.8 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6208, allocations: 7.938 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.6208, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.6208, allocations: 4 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.6208, allocations: 0 / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6208, allocations: 7.922 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.6208, allocations: 4.062 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.605e-05/0.6209, allocations: 77.88 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.621, allocations: 89.06 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.621, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.621, allocations: 0 / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.621, allocations: 7.984 kB / 1.17 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.6211, allocations: 7.969 kB / 1.17 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.838e-05/0.6212, allocations: 117.9 kB / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6212, allocations: 0 / 1.17 GB, free: 15 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001727/0.6213, allocations: 15.98 kB / 1.17 GB, free: 14.98 MB / 0.9044 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.0003568/0.6217, allocations: 0.6055 MB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.236e-05/0.6218, allocations: 23.92 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.6218, allocations: 0 / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.358e-05/0.6218, allocations: 8 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.6219, allocations: 8 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6231, allocations: 1.341 MB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.6234, allocations: 0.6929 MB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.814e-05/0.6234, allocations: 8.422 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.6235, allocations: 27.42 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6235, allocations: 3.938 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.606/4.23, allocations: 1.569 MB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/16.73, allocations: 18.06 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches