Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 80.38 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 162.4 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.913/2.913, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.369e-05/2.572e-05, allocations: 5.656 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.00184/0.001865, allocations: 0.7888 MB / 1.001 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001324/0.001998, allocations: 47.78 kB / 1.001 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.002045, allocations: 0 / 1.001 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.002082, allocations: 7.922 kB / 1.001 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.954e-05/0.002152, allocations: 7.875 kB / 1.001 GB, free: 6.441 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.544e-05/0.002197, allocations: 19.98 kB / 1.001 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.00232, allocations: 67.77 kB / 1.001 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.002457, allocations: 31.91 kB / 1.001 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.00253, allocations: 35.91 kB / 1.001 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.384e-05/0.002584, allocations: 23.91 kB / 1.001 GB, free: 6.266 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.002612, allocations: 4 kB / 1.001 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.002622, allocations: 8 kB / 1.001 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.002645, allocations: 11.94 kB / 1.001 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.002677, allocations: 23.91 kB / 1.001 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.002793, allocations: 75.69 kB / 1.001 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.002795, allocations: 0 / 1.001 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of FrontEnd: time 6.21e-07/0.002796, allocations: 0 / 1.001 GB, free: 6.145 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.002806, allocations: 0 / 1.001 GB, free: 6.145 MB / 0.9512 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.0004399/0.003246, allocations: 310 kB / 1.002 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.003278, allocations: 8.031 kB / 1.002 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.633e-05/0.003315, allocations: 8.891 kB / 1.002 GB, free: 5.793 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.003504, allocations: 133.6 kB / 1.002 GB, free: 5.637 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.003521, allocations: 8.359 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.003538, allocations: 8.375 kB / 1.002 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.0037, allocations: 102.1 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.003712, allocations: 4.188 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.003721, allocations: 384 / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.003725, allocations: 384 / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.003801, allocations: 39.92 kB / 1.002 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.004277, allocations: 360.4 kB / 1.002 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.18e-05/0.004339, allocations: 37.16 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.004376, allocations: 21.88 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.222e-06/0.004382, allocations: 0 / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.004415, allocations: 38.56 kB / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.004416, allocations: 0 / 1.002 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001647/0.004581, allocations: 53.58 kB / 1.002 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.004629, allocations: 77.36 kB / 1.002 GB, free: 4.801 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.004757, allocations: 139.1 kB / 1.003 GB, free: 4.656 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.00478, allocations: 29.7 kB / 1.003 GB, free: 4.621 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.104e-05/0.004851, allocations: 107.9 kB / 1.003 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.004859, allocations: 3.953 kB / 1.003 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.004891, allocations: 17.72 kB / 1.003 GB, free: 4.484 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.005025, allocations: 318.8 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.005045, allocations: 8 kB / 1.003 GB, free: 4.156 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.005068, allocations: 17.72 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.76e-05/0.005115, allocations: 29.66 kB / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.005117, allocations: 0 / 1.003 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.618e-05/0.005203, allocations: 53.64 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.005215, allocations: 11.94 kB / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.005219, allocations: 0 / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.005232, allocations: 0 / 1.003 GB, free: 4.027 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.227e-05/0.005294, allocations: 16 kB / 1.003 GB, free: 4.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.0053, allocations: 3.938 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.891e-05/0.005329, allocations: 3.938 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.005335, allocations: 4.078 kB / 1.003 GB, free: 4 MB / 0.9512 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 8.238e-05/0.005418, allocations: 121.8 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.456e-05/0.005462, allocations: 11.94 kB / 1.003 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.3e-05/0.005485, allocations: 7.469 kB / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.005487, allocations: 0 / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.00549, allocations: 0 / 1.003 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.005494, allocations: 3.938 kB / 1.003 GB, free: 3.848 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.005888, allocations: 410.5 kB / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.005889, allocations: 0 / 1.004 GB, free: 3.402 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.005913, allocations: 4 kB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.005915, allocations: 3.938 kB / 1.004 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.005922, allocations: 8 kB / 1.004 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.005925, allocations: 4 kB / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005926, allocations: 0 / 1.004 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.93e-05/0.006016, allocations: 77.88 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.006036, allocations: 8 kB / 1.004 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.006054, allocations: 7.922 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.809e-05/0.006073, allocations: 0 / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.006083, allocations: 0 / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-06/0.006085, allocations: 4 kB / 1.004 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.73e-05/0.006152, allocations: 101.8 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.11e-07/0.006152, allocations: 4.031 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001916/0.006344, allocations: 11.95 kB / 1.004 GB, free: 3.152 MB / 0.9512 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 9.188e-05/0.006436, allocations: 95.23 kB / 1.004 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.594e-05/0.006521, allocations: 23.92 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.006523, allocations: 0 / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.095e-05/0.006534, allocations: 4 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.006676, allocations: 11.94 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003038/0.00698, allocations: 166.8 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.726e-05/0.007048, allocations: 75.31 kB / 1.004 GB, free: 2.719 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.007069, allocations: 4 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.007095, allocations: 12.5 kB / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of SimCode: time 3.01e-07/0.007096, allocations: 0 / 1.004 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of Templates: time 0.002699/0.009795, allocations: 340.5 kB / 1.005 GB, free: 2.371 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 8.310164347290993]