Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002029/0.002029, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.806/2.806, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.104 GB, free: 6.508 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.077, allocations: 168.7 MB / 1.269 GB, free: 7.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002075/1.079, allocations: 0.8426 MB / 1.27 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001233/1.079, allocations: 41.39 kB / 1.27 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/1.079, allocations: 1.656 kB / 1.27 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.097e-05/1.079, allocations: 9.234 kB / 1.27 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.835e-05/1.079, allocations: 14.08 kB / 1.27 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.101e-05/1.079, allocations: 20.28 kB / 1.27 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/1.079, allocations: 59.95 kB / 1.27 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/1.08, allocations: 31.47 kB / 1.27 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/1.08, allocations: 30.47 kB / 1.27 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.077e-05/1.08, allocations: 26.41 kB / 1.27 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/1.08, allocations: 10.23 kB / 1.27 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.667e-05/1.08, allocations: 10.34 kB / 1.27 GB, free: 7.027 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/1.08, allocations: 16.06 kB / 1.27 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/1.08, allocations: 33.25 kB / 1.27 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001301/1.08, allocations: 72.22 kB / 1.27 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.08, allocations: 4.969 kB / 1.27 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.883e-06/1.08, allocations: 3.938 kB / 1.27 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.165e-05/1.08, allocations: 0 / 1.27 GB, free: 6.953 MB / 0.9981 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.0003747/1.08, allocations: 376.4 kB / 1.27 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.08, allocations: 11.17 kB / 1.27 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.244e-05/1.08, allocations: 42.56 kB / 1.27 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/1.08, allocations: 13.22 kB / 1.27 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/1.081, allocations: 196.7 kB / 1.271 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/1.081, allocations: 11.78 kB / 1.271 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/1.081, allocations: 5.438 kB / 1.271 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/1.081, allocations: 90.67 kB / 1.271 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.081, allocations: 3.938 kB / 1.271 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/1.081, allocations: 1.625 kB / 1.271 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.081, allocations: 6.438 kB / 1.271 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.955e-05/1.081, allocations: 39.41 kB / 1.271 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/1.081, allocations: 430.2 kB / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.641e-05/1.081, allocations: 45.56 kB / 1.271 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/1.081, allocations: 24.22 kB / 1.271 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/1.081, allocations: 0.7188 kB / 1.271 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/1.081, allocations: 32.72 kB / 1.271 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/1.081, allocations: 0 / 1.271 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001617/1.082, allocations: 56.78 kB / 1.271 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/1.082, allocations: 82.81 kB / 1.271 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/1.082, allocations: 157.9 kB / 1.271 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/1.082, allocations: 25.7 kB / 1.272 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/1.082, allocations: 100.1 kB / 1.272 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/1.082, allocations: 5.453 kB / 1.272 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/1.082, allocations: 21.94 kB / 1.272 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.502e-05/1.082, allocations: 323.9 kB / 1.272 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/1.082, allocations: 4.469 kB / 1.272 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/1.082, allocations: 27.88 kB / 1.272 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.906e-05/1.082, allocations: 26.83 kB / 1.272 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.082, allocations: 0.875 kB / 1.272 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.113e-05/1.082, allocations: 60.91 kB / 1.272 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.082, allocations: 12.03 kB / 1.272 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.082, allocations: 1.609 kB / 1.272 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.082, allocations: 4.062 kB / 1.272 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.659e-05/1.082, allocations: 10.27 kB / 1.272 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.082, allocations: 1.406 kB / 1.272 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.805e-05/1.082, allocations: 6.344 kB / 1.272 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/1.082, allocations: 2.234 kB / 1.272 GB, free: 4.828 MB / 0.9981 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 5.232e-05/1.082, allocations: 113.9 kB / 1.272 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/1.082, allocations: 11.86 kB / 1.272 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/1.082, allocations: 12.38 kB / 1.272 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/1.082, allocations: 1.531 kB / 1.272 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.082, allocations: 4.844 kB / 1.272 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.082, allocations: 0.875 kB / 1.272 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/1.083, allocations: 479.2 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/1.083, allocations: 1 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/1.083, allocations: 2.953 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.083, allocations: 0.75 kB / 1.273 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/1.083, allocations: 5.406 kB / 1.273 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.083, allocations: 5.359 kB / 1.273 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.083, allocations: 0.7188 kB / 1.273 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.022e-05/1.083, allocations: 76.95 kB / 1.273 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.533e-05/1.083, allocations: 86.17 kB / 1.273 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/1.083, allocations: 6.344 kB / 1.273 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.005e-05/1.083, allocations: 0 / 1.273 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/1.083, allocations: 9.984 kB / 1.273 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/1.083, allocations: 0.9375 kB / 1.273 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.721e-05/1.083, allocations: 121 kB / 1.273 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.083, allocations: 0 / 1.273 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003112/1.083, allocations: 6.75 kB / 1.273 GB, free: 3.91 MB / 0.9981 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.0003399/1.084, allocations: 0.6205 MB / 1.274 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001201/1.084, allocations: 19.22 kB / 1.274 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.084, allocations: 0 / 1.274 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.788e-05/1.084, allocations: 4.984 kB / 1.274 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/1.084, allocations: 15.86 kB / 1.274 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.085, allocations: 1.342 MB / 1.275 GB, free: 18.04 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/1.086, allocations: 0.6925 MB / 1.276 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.175e-05/1.086, allocations: 7.328 kB / 1.276 GB, free: 17.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/1.086, allocations: 21.55 kB / 1.276 GB, free: 17.33 MB / 1.014 GB Notification: Performance of SimCode: time 9.32e-07/1.086, allocations: 0 / 1.276 GB, free: 17.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/1.128, allocations: 1.596 MB / 1.277 GB, free: 16.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/9.322, allocations: 16.39 kB / 1.277 GB, free: 16.92 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_psi.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.740988386794925]