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.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.00106/0.00106, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0008997/0.0008997, allocations: 161.4 kB / 23.82 MB, free: 0.7578 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.9462/0.9462, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.819/1.819, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.817e-05/2.99e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.00177/0.0018, allocations: 0.8171 MB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001159/0.001916, allocations: 40.75 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.001964, allocations: 0 / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.002002, allocations: 15.86 kB / 0.788 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.002086, allocations: 8.5 kB / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.366e-05/0.002129, allocations: 20.67 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.002233, allocations: 55.84 kB / 0.788 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.002361, allocations: 36.73 kB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.91e-05/0.00246, allocations: 48.84 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.002499, allocations: 19.91 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.002518, allocations: 4 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.805e-06/0.002525, allocations: 4.562 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.002544, allocations: 11.94 kB / 0.7882 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.002575, allocations: 20.75 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.002668, allocations: 43.77 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.002672, allocations: 1.188 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002673, allocations: 0 / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.002678, allocations: 4 kB / 0.7882 GB, free: 11.37 MB / 0.7448 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.0003656/0.003044, allocations: 404.8 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.003087, allocations: 18.78 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.003135, allocations: 16.89 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.00329, allocations: 136.5 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.003302, allocations: 384 / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.003318, allocations: 16.36 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.003456, allocations: 86.95 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.003465, allocations: 192 / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.003477, allocations: 384 / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.003487, allocations: 9.766 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.974e-05/0.003537, allocations: 27.92 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005236/0.00406, allocations: 0.7497 MB / 0.7896 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.004169, allocations: 269.6 kB / 0.7899 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.004205, allocations: 127.8 kB / 0.79 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.004238, allocations: 119.2 kB / 0.7901 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.601e-05/0.004284, allocations: 157.3 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.004285, allocations: 0 / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.356e-05/0.004348, allocations: 42.95 kB / 0.7903 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.004403, allocations: 174.5 kB / 0.7905 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.004514, allocations: 199.7 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.913e-06/0.00452, allocations: 25.7 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.004594, allocations: 180.2 kB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-06/0.004598, allocations: 4 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.004627, allocations: 27.38 kB / 0.7909 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.004742, allocations: 0.4884 MB / 0.7914 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.004756, allocations: 8 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.004797, allocations: 71.03 kB / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.946e-05/0.004866, allocations: 95.8 kB / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.004868, allocations: 0 / 0.7916 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000121/0.004989, allocations: 87.95 kB / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.005001, allocations: 4 kB / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.005007, allocations: 4 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.005018, allocations: 0.5312 kB / 0.7916 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.00508, allocations: 16.7 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.005088, allocations: 7.938 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.276e-05/0.005111, allocations: 8.469 kB / 0.7917 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005116, allocations: 4 kB / 0.7917 GB, free: 7.547 MB / 0.7448 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.604e-05/0.005203, allocations: 285.3 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.005248, allocations: 152.8 kB / 0.7921 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.005295, allocations: 160.6 kB / 0.7923 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.686e-05/0.005352, allocations: 268.7 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.087e-05/0.005413, allocations: 272 kB / 0.7928 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.865e-05/0.005472, allocations: 268.8 kB / 0.793 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.005645, allocations: 0.5038 MB / 0.7935 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/0.005678, allocations: 153.5 kB / 0.7937 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.187e-05/0.00571, allocations: 148.9 kB / 0.7938 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.953e-05/0.005769, allocations: 273 kB / 0.7941 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.005829, allocations: 268.1 kB / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-05/0.005886, allocations: 265.2 kB / 0.7946 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.673e-05/0.005942, allocations: 268 kB / 0.7948 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000159/0.006101, allocations: 459.8 kB / 0.7953 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.068e-05/0.006152, allocations: 157.4 kB / 0.7954 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.006214, allocations: 264.1 kB / 0.7957 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.308e-05/0.006268, allocations: 153.7 kB / 0.7958 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.295e-05/0.006331, allocations: 268.4 kB / 0.7961 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.006362, allocations: 157.5 kB / 0.7962 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.563e-05/0.006418, allocations: 148 kB / 0.7964 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006418, allocations: 1.688 kB / 0.7964 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001506/0.006568, allocations: 11.95 kB / 0.7964 GB, free: 2.547 MB / 0.7448 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 9.73e-05/0.006665, allocations: 214.4 kB / 0.7966 GB, free: 2.328 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.882e-05/0.006754, allocations: 34.72 kB / 0.7966 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.006756, allocations: 0 / 0.7966 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.006757, allocations: 4 kB / 0.7966 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.00706, allocations: 0.7139 MB / 0.7973 GB, free: 1.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.007327, allocations: 281.5 kB / 0.7976 GB, free: 1.266 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.379e-05/0.00736, allocations: 65.41 kB / 0.7976 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.081e-05/0.007391, allocations: 4.734 kB / 0.7977 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.007411, allocations: 8.5 kB / 0.7977 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of SimCode: time 7.72e-07/0.007411, allocations: 0.5 kB / 0.7977 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of Templates: time 0.001765/0.009176, allocations: 323.6 kB / 0.798 GB, free: 0.8711 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.998851426877081]