Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001077/0.001077, allocations: 82.05 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009968/0.0009968, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 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 0.9438/0.9438, allocations: 177.1 MB / 203.7 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.429/2.429, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.417e-05/2.606e-05, allocations: 9.062 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001455/0.001481, allocations: 0.8179 MB / 0.8905 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.001588, allocations: 43.78 kB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.001632, allocations: 4 kB / 0.8906 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.001672, allocations: 11.86 kB / 0.8906 GB, free: 8.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.532e-05/0.001747, allocations: 11.81 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.85e-05/0.001786, allocations: 19.97 kB / 0.8906 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.052e-05/0.001866, allocations: 67.84 kB / 0.8907 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.001968, allocations: 23.97 kB / 0.8907 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.216e-05/0.00206, allocations: 47.83 kB / 0.8908 GB, free: 8.723 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.425e-05/0.002094, allocations: 15.92 kB / 0.8908 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.002111, allocations: 4 kB / 0.8908 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.002119, allocations: 8 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.002138, allocations: 11.92 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.302e-05/0.002161, allocations: 23.92 kB / 0.8908 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.052e-05/0.002241, allocations: 47.77 kB / 0.8909 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.002243, allocations: 0 / 0.8909 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002244, allocations: 4 kB / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002248, allocations: 0 / 0.8909 GB, free: 8.609 MB / 0.8542 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.0002987/0.002547, allocations: 408.2 kB / 0.8913 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.002583, allocations: 8.625 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.002627, allocations: 16.84 kB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.002744, allocations: 140.5 kB / 0.8914 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.002753, allocations: 8.359 kB / 0.8914 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.002762, allocations: 8.375 kB / 0.8914 GB, free: 7.969 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.125e-05/0.002853, allocations: 79.89 kB / 0.8915 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.002859, allocations: 192 / 0.8915 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.002867, allocations: 8.312 kB / 0.8915 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.002873, allocations: 8.375 kB / 0.8915 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.672e-05/0.002899, allocations: 23.86 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.003278, allocations: 0.7186 MB / 0.8923 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.003354, allocations: 265.4 kB / 0.8925 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.003385, allocations: 130.9 kB / 0.8926 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.003412, allocations: 123.2 kB / 0.8928 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.003456, allocations: 152.6 kB / 0.8929 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.003457, allocations: 0 / 0.8929 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.216e-05/0.003509, allocations: 37.69 kB / 0.8929 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.00356, allocations: 174.6 kB / 0.8931 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.00366, allocations: 211.1 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-06/0.003666, allocations: 25.7 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.003728, allocations: 166.5 kB / 0.8935 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-06/0.003731, allocations: 4 kB / 0.8935 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.003762, allocations: 31.31 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.003872, allocations: 0.4923 MB / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.372e-06/0.003878, allocations: 0 / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.541e-05/0.003913, allocations: 73.48 kB / 0.8941 GB, free: 5.086 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/0.003973, allocations: 93.36 kB / 0.8942 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.003975, allocations: 4 kB / 0.8942 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.639e-05/0.004072, allocations: 81.72 kB / 0.8942 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.004085, allocations: 8 kB / 0.8942 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.00409, allocations: 0 / 0.8942 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.004101, allocations: 4 kB / 0.8943 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.415e-05/0.004145, allocations: 19.92 kB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.004148, allocations: 0 / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.004172, allocations: 11.89 kB / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.004177, allocations: 8 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.487e-05/0.004262, allocations: 279.7 kB / 0.8946 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.004307, allocations: 156.8 kB / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.004354, allocations: 160.7 kB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.517e-05/0.004409, allocations: 268.1 kB / 0.8951 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.824e-05/0.004467, allocations: 272 kB / 0.8954 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003/0.004767, allocations: 272 kB / 0.8956 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.004929, allocations: 496.4 kB / 0.8961 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-05/0.004958, allocations: 148.8 kB / 0.8963 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.004989, allocations: 144.9 kB / 0.8964 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.808e-05/0.005047, allocations: 276 kB / 0.8967 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.005105, allocations: 276.1 kB / 0.8969 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.688e-05/0.005162, allocations: 268 kB / 0.8972 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.375e-05/0.005216, allocations: 272.1 kB / 0.8974 GB, free: 1.473 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.005338, allocations: 460.1 kB / 0.8979 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.005384, allocations: 148.8 kB / 0.898 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.005447, allocations: 276 kB / 0.8983 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.005499, allocations: 148.9 kB / 0.8984 GB, free: 424 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.005569, allocations: 272 kB / 0.8987 GB, free: 144 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.005611, allocations: 144.9 kB / 0.8988 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.03e-05/0.005661, allocations: 145.4 kB / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.005661, allocations: 0 / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001505/0.005812, allocations: 8 kB / 0.899 GB, free: 15.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001235/0.005935, allocations: 218.4 kB / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.005e-05/0.006005, allocations: 31.55 kB / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.006007, allocations: 0 / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.006009, allocations: 3.938 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.006285, allocations: 0.7062 MB / 0.8999 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.006516, allocations: 273.7 kB / 0.9002 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.121e-05/0.006547, allocations: 63.34 kB / 0.9002 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.006581, allocations: 5.234 kB / 0.9002 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.006616, allocations: 78.19 kB / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of SimCode: time 6.71e-07/0.006617, allocations: 0 / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.001694/0.008311, allocations: 328.6 kB / 0.9006 GB, free: 14.09 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.22448492096737]