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.006986/0.006986, allocations: 102.5 kB / 15.73 MB, free: 6.008 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.00173/0.00173, allocations: 198.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.086/2.086, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.474/3.474, allocations: 390.3 MB / 0.6648 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 67.89 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848/1.85, allocations: 140.4 MB / 1.087 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.003824/1.854, allocations: 0.8259 MB / 1.088 GB, free: 4.629 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002019/1.854, allocations: 42.34 kB / 1.088 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/1.854, allocations: 0 / 1.088 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.894e-05/1.854, allocations: 10.55 kB / 1.088 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00014/1.855, allocations: 9.281 kB / 1.088 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.221e-05/1.855, allocations: 20.48 kB / 1.088 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/1.855, allocations: 63.72 kB / 1.088 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/1.855, allocations: 38.2 kB / 1.088 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/1.855, allocations: 30.08 kB / 1.088 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/1.855, allocations: 34.2 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.945e-05/1.855, allocations: 6.594 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/1.855, allocations: 5.469 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.748e-05/1.855, allocations: 16.27 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/1.856, allocations: 32.7 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/1.856, allocations: 73.81 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/1.856, allocations: 5 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.47e-06/1.856, allocations: 0.6562 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.247e-06/1.856, allocations: 3.938 kB / 1.089 GB, free: 4.41 MB / 0.8575 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.0006776/1.857, allocations: 384.5 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 8.118e-05/1.857, allocations: 9.531 kB / 1.089 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.513e-05/1.857, allocations: 39.17 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/1.857, allocations: 17.95 kB / 1.089 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/1.857, allocations: 193 kB / 1.089 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/1.857, allocations: 7.438 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/1.857, allocations: 5.625 kB / 1.089 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/1.857, allocations: 93.34 kB / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/1.857, allocations: 9.75 kB / 1.089 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.857, allocations: 0.9688 kB / 1.089 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.5e-05/1.858, allocations: 1.938 kB / 1.089 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/1.858, allocations: 44.17 kB / 1.089 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008342/1.859, allocations: 433.2 kB / 1.09 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/1.859, allocations: 46.12 kB / 1.09 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.042e-05/1.859, allocations: 20.75 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/1.859, allocations: 4 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/1.859, allocations: 33.3 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.813e-06/1.859, allocations: 0 / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002716/1.859, allocations: 60.47 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/1.859, allocations: 78.89 kB / 1.09 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/1.859, allocations: 161 kB / 1.09 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/1.859, allocations: 26.8 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/1.86, allocations: 103.6 kB / 1.09 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/1.86, allocations: 5.484 kB / 1.09 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/1.86, allocations: 18.95 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/1.86, allocations: 322.6 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/1.86, allocations: 4.594 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.885e-05/1.86, allocations: 20.09 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.742e-05/1.86, allocations: 27.61 kB / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.86, allocations: 0 / 1.091 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/1.86, allocations: 60.91 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.86, allocations: 14.98 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.86, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/1.86, allocations: 0.875 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.337e-05/1.86, allocations: 6.797 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/1.86, allocations: 1 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/1.86, allocations: 6.094 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/1.86, allocations: 4.938 kB / 1.091 GB, free: 2.285 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.0001055/1.86, allocations: 114.7 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/1.861, allocations: 13.02 kB / 1.091 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/1.861, allocations: 16 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/1.861, allocations: 1.062 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/1.861, allocations: 1.125 kB / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.861, allocations: 0 / 1.091 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/1.861, allocations: 467.6 kB / 1.091 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.861, allocations: 4.656 kB / 1.091 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.93e-05/1.861, allocations: 7.656 kB / 1.091 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.861, allocations: 4.812 kB / 1.091 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.861, allocations: 5.344 kB / 1.091 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/1.861, allocations: 1.406 kB / 1.091 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.861, allocations: 0.6094 kB / 1.091 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/1.861, allocations: 79.8 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-05/1.862, allocations: 90.83 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/1.862, allocations: 1.547 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.459e-05/1.862, allocations: 9.094 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/1.862, allocations: 1.781 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/1.862, allocations: 1.062 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001461/1.862, allocations: 118.6 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.862, allocations: 0.75 kB / 1.092 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003455/1.862, allocations: 6.469 kB / 1.092 GB, free: 1.367 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.0006034/1.863, allocations: 0.62 MB / 1.092 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001361/1.863, allocations: 15.22 kB / 1.092 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.863, allocations: 1.031 kB / 1.092 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.147e-05/1.863, allocations: 8.672 kB / 1.092 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/1.863, allocations: 14.61 kB / 1.092 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/1.865, allocations: 1.33 MB / 1.094 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008182/1.866, allocations: 0.692 MB / 1.094 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.506e-05/1.866, allocations: 11.78 kB / 1.094 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-05/1.866, allocations: 25.78 kB / 1.094 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of SimCode: time 1.022e-06/1.866, allocations: 0 / 1.094 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03499/1.901, allocations: 1.581 MB / 1.096 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.98, allocations: 7.75 kB / 1.096 GB, free: 14.39 MB / 0.8731 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