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.001122/0.001122, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009724/0.0009724, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.168/2.168, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 71.89 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5278/0.5291, allocations: 140.4 MB / 0.9497 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001671/0.5308, allocations: 0.8119 MB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.232e-05/0.5309, allocations: 40.62 kB / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.531, allocations: 1.25 kB / 0.9506 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.531, allocations: 21.08 kB / 0.9506 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.247e-05/0.5311, allocations: 3.938 kB / 0.9506 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.717e-05/0.5311, allocations: 19.27 kB / 0.9506 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.901e-05/0.5312, allocations: 61.66 kB / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.5313, allocations: 42.92 kB / 0.9507 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.524e-05/0.5314, allocations: 28.73 kB / 0.9507 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.025e-05/0.5314, allocations: 28.48 kB / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.5315, allocations: 9.781 kB / 0.9508 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.5315, allocations: 6.375 kB / 0.9508 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.5315, allocations: 18.33 kB / 0.9508 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.5315, allocations: 33.64 kB / 0.9508 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.422e-05/0.5316, allocations: 79.17 kB / 0.9509 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5316, allocations: 2 kB / 0.9509 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5316, allocations: 4 kB / 0.9509 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.5316, allocations: 0 / 0.9509 GB, free: 8.25 MB / 0.7169 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.0002776/0.5319, allocations: 377.4 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.532, allocations: 10.03 kB / 0.9513 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.513e-05/0.532, allocations: 41.33 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.532, allocations: 8.656 kB / 0.9513 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.5321, allocations: 191.4 kB / 0.9515 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.5322, allocations: 7.188 kB / 0.9515 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.5322, allocations: 9.969 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.5323, allocations: 94.77 kB / 0.9516 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.5323, allocations: 3.938 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-06/0.5323, allocations: 1.156 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.5323, allocations: 2.406 kB / 0.9516 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.5324, allocations: 38.95 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.5327, allocations: 441.2 kB / 0.9521 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.628e-05/0.5328, allocations: 45.45 kB / 0.9521 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.5328, allocations: 19.34 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.5328, allocations: 2.281 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.5328, allocations: 34.56 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.5329, allocations: 0 / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.533, allocations: 54.55 kB / 0.9522 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.533, allocations: 82.16 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.5331, allocations: 159.2 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.5331, allocations: 26.89 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.47e-05/0.5332, allocations: 115.4 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.522e-06/0.5332, allocations: 6 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/0.5332, allocations: 21.05 kB / 0.9526 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.503e-05/0.5333, allocations: 321.2 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.5333, allocations: 7.047 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.5333, allocations: 18.44 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.5333, allocations: 34.34 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5333, allocations: 1.094 kB / 0.953 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.494e-05/0.5334, allocations: 59.09 kB / 0.953 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.5334, allocations: 9.344 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.5334, allocations: 3.938 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.5334, allocations: 1.344 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.078e-05/0.5335, allocations: 4.625 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.5335, allocations: 1.312 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.58e-05/0.5335, allocations: 1.656 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.5335, allocations: 6.406 kB / 0.9531 GB, free: 6.035 MB / 0.7169 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 4.082e-05/0.5336, allocations: 113.6 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.5336, allocations: 11.53 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.734e-05/0.5337, allocations: 14.52 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.5337, allocations: 1.312 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5337, allocations: 0 / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.5337, allocations: 1.219 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.5339, allocations: 478.3 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.5339, allocations: 0 / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.5339, allocations: 4.156 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.5339, allocations: 0 / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.534, allocations: 1.094 kB / 0.9537 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.534, allocations: 4.984 kB / 0.9537 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.534, allocations: 3.938 kB / 0.9537 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.978e-05/0.534, allocations: 78.47 kB / 0.9537 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.5341, allocations: 92.94 kB / 0.9538 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.5341, allocations: 5.125 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.5341, allocations: 0 / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.368e-06/0.5341, allocations: 1.031 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.5341, allocations: 5.094 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.487e-05/0.5342, allocations: 125.1 kB / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5342, allocations: 32 / 0.954 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001754/0.5344, allocations: 11.62 kB / 0.954 GB, free: 5.082 MB / 0.7169 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.0001927/0.5346, allocations: 0.6151 MB / 0.9546 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.434e-05/0.5346, allocations: 18.62 kB / 0.9546 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5346, allocations: 3.938 kB / 0.9546 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/0.5346, allocations: 9.266 kB / 0.9546 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.5348, allocations: 10.67 kB / 0.9546 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007384/0.5355, allocations: 1.323 MB / 0.9559 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.3e-05/0.5356, allocations: 0.6941 MB / 0.9566 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.5357, allocations: 9.078 kB / 0.9566 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.5357, allocations: 23.47 kB / 0.9566 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5357, allocations: 7.938 kB / 0.9566 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.046/1.582, allocations: 1.532 MB / 0.9581 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.874/11.46, allocations: 5.469 kB / 0.9581 GB, free: 1.625 MB / 0.7169 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