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.001191/0.001191, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001242/0.001242, allocations: 189.3 kB / 16.25 MB, free: 6.633 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.492 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.199/2.199, allocations: 390.2 MB / 0.6644 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 68.08 kB / 0.8122 GB, free: 14.62 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5511/0.5527, allocations: 140.4 MB / 0.9492 GB, free: 9.352 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001834/0.5546, allocations: 0.8764 MB / 0.9501 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001069/0.5547, allocations: 49.28 kB / 0.9501 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.5547, allocations: 1.312 kB / 0.9501 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.5548, allocations: 11.88 kB / 0.9502 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.5549, allocations: 5.016 kB / 0.9502 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.803e-05/0.5549, allocations: 10.81 kB / 0.9502 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.555, allocations: 68.17 kB / 0.9502 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.5551, allocations: 45.19 kB / 0.9503 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.615e-05/0.5552, allocations: 24.36 kB / 0.9503 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.5552, allocations: 27.64 kB / 0.9503 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.5553, allocations: 5.719 kB / 0.9503 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.5553, allocations: 6.688 kB / 0.9503 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.5553, allocations: 18.14 kB / 0.9504 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.616e-05/0.5553, allocations: 27.16 kB / 0.9504 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.623e-05/0.5554, allocations: 77.94 kB / 0.9505 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5554, allocations: 1.062 kB / 0.9505 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5554, allocations: 7.938 kB / 0.9505 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.5554, allocations: 0 / 0.9505 GB, free: 8.395 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.0002972/0.5557, allocations: 379.4 kB / 0.9508 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5558, allocations: 8.938 kB / 0.9508 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.438e-05/0.5558, allocations: 41.23 kB / 0.9509 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.5558, allocations: 10.06 kB / 0.9509 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001301/0.556, allocations: 190.4 kB / 0.9511 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.556, allocations: 3.188 kB / 0.9511 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.556, allocations: 9.375 kB / 0.9511 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.5562, allocations: 98 kB / 0.9512 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.5562, allocations: 3.938 kB / 0.9512 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.5562, allocations: 4 kB / 0.9512 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.5562, allocations: 6.891 kB / 0.9512 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.5563, allocations: 39.14 kB / 0.9512 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.5567, allocations: 437.9 kB / 0.9516 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.468e-05/0.5567, allocations: 36.56 kB / 0.9517 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.78e-05/0.5567, allocations: 22.92 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-06/0.5568, allocations: 1.312 kB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.028e-05/0.5568, allocations: 35.69 kB / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5568, allocations: 0 / 0.9517 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001316/0.5569, allocations: 55.83 kB / 0.9518 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.5569, allocations: 81.11 kB / 0.9519 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.978e-05/0.557, allocations: 163.8 kB / 0.952 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-06/0.5571, allocations: 25.7 kB / 0.952 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.5571, allocations: 117.2 kB / 0.9522 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.5571, allocations: 5 kB / 0.9522 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.5571, allocations: 25.17 kB / 0.9522 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.5572, allocations: 312.4 kB / 0.9525 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.555e-05/0.5572, allocations: 7.531 kB / 0.9525 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.88e-05/0.5572, allocations: 23.55 kB / 0.9525 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.5573, allocations: 29.41 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5573, allocations: 0.75 kB / 0.9525 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.784e-05/0.5573, allocations: 63.12 kB / 0.9526 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.5574, allocations: 12 kB / 0.9526 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5574, allocations: 4 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.5574, allocations: 1.281 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.5574, allocations: 5.938 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.5574, allocations: 0 / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.5575, allocations: 2.406 kB / 0.9526 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.5575, allocations: 5.594 kB / 0.9526 GB, free: 6.176 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.557e-05/0.5575, allocations: 113.6 kB / 0.9527 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.5576, allocations: 11.38 kB / 0.9527 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.5576, allocations: 10.58 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5576, allocations: 1.5 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.5576, allocations: 0 / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.5576, allocations: 0.9688 kB / 0.9528 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.5579, allocations: 478.5 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.5579, allocations: 0 / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.658e-05/0.5579, allocations: 3 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.5579, allocations: 1.938 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.5579, allocations: 0 / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5579, allocations: 1.438 kB / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5579, allocations: 0 / 0.9532 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.69e-05/0.558, allocations: 91.11 kB / 0.9533 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.558, allocations: 91.28 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.5581, allocations: 1.969 kB / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.5581, allocations: 0 / 0.9534 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.5581, allocations: 4.844 kB / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.5581, allocations: 1.156 kB / 0.9534 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.52e-05/0.5582, allocations: 121.4 kB / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.5582, allocations: 0 / 0.9535 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001813/0.5584, allocations: 14.81 kB / 0.9535 GB, free: 5.227 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.0002098/0.5586, allocations: 0.6131 MB / 0.9541 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.399e-05/0.5587, allocations: 14.12 kB / 0.9541 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.5587, allocations: 5.312 kB / 0.9542 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.5587, allocations: 12.28 kB / 0.9542 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.5588, allocations: 14.14 kB / 0.9542 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008015/0.5597, allocations: 1.345 MB / 0.9555 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.5598, allocations: 0.6948 MB / 0.9562 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.878e-05/0.5598, allocations: 8.609 kB / 0.9562 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.5598, allocations: 19.69 kB / 0.9562 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.5598, allocations: 0 / 0.9562 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4899/1.05, allocations: 1.462 MB / 0.9576 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.05, allocations: 209 kB / 0.9578 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.855, allocations: 7.938 kB / 0.9578 GB, free: 1.605 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