Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001126/0.001126, 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.001311/0.001311, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9667/0.9667, 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.88/1.88, allocations: 359 MB / 0.6052 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 177] 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.319e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002404/0.002437, allocations: 0.8269 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000148/0.002585, allocations: 39.78 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.228e-05/0.002647, allocations: 4.906 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.002696, allocations: 7.875 kB / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.163e-05/0.002787, allocations: 8.781 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.379e-05/0.002851, allocations: 19.98 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.002976, allocations: 64.33 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.003128, allocations: 27.97 kB / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.574e-05/0.003214, allocations: 37.06 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.366e-05/0.003277, allocations: 15.92 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.003302, allocations: 8 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.003311, allocations: 4.562 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.721e-05/0.003339, allocations: 24.59 kB / 0.7882 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.003373, allocations: 15.94 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.003493, allocations: 52.59 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.003498, allocations: 0 / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.323e-06/0.003499, allocations: 0.6562 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.003505, allocations: 0 / 0.7882 GB, free: 11.36 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.0005044/0.004009, allocations: 405.2 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.004066, allocations: 12.03 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.775e-05/0.004123, allocations: 18.48 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.004366, allocations: 128.5 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.004383, allocations: 8.375 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.004402, allocations: 4.375 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.004567, allocations: 99.03 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.00458, allocations: 192 / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.004597, allocations: 4.375 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.00461, allocations: 4.375 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.004678, allocations: 31.86 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005462/0.005224, allocations: 458.4 kB / 0.7893 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.109e-05/0.005295, allocations: 58.16 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.181e-05/0.005337, allocations: 24.02 kB / 0.7894 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.005346, allocations: 0.5938 kB / 0.7894 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.005375, allocations: 41.39 kB / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.014e-06/0.005377, allocations: 1.656 kB / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000195/0.005571, allocations: 45.58 kB / 0.7895 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.005622, allocations: 81.11 kB / 0.7896 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.005768, allocations: 186.8 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.005786, allocations: 29.7 kB / 0.7898 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.005899, allocations: 163.1 kB / 0.7899 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.005914, allocations: 7.891 kB / 0.79 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.005956, allocations: 24.44 kB / 0.79 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0004654/0.006421, allocations: 496.1 kB / 0.7904 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.324e-05/0.006445, allocations: 8.844 kB / 0.7905 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.701e-05/0.006472, allocations: 19.38 kB / 0.7905 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.454e-05/0.006556, allocations: 36.39 kB / 0.7905 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.00656, allocations: 0 / 0.7905 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001056/0.006665, allocations: 51.05 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.006688, allocations: 4 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006693, allocations: 0 / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.006713, allocations: 0.5 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.269e-05/0.006786, allocations: 8.594 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.006795, allocations: 7.922 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.711e-05/0.006822, allocations: 5.297 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.006829, allocations: 4 kB / 0.7906 GB, free: 8.695 MB / 0.7448 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.518e-05/0.006914, allocations: 153.3 kB / 0.7907 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.137e-05/0.006956, allocations: 4 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.332e-05/0.006999, allocations: 9.344 kB / 0.7907 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.007002, allocations: 4 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.007007, allocations: 0 / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.007011, allocations: 3.938 kB / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.007434, allocations: 0.5427 MB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007436, allocations: 0 / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.707e-05/0.007463, allocations: 4.719 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.007467, allocations: 0 / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.007476, allocations: 13.16 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.007481, allocations: 7.922 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007482, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.374e-05/0.007566, allocations: 76.7 kB / 0.7914 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.009e-05/0.007596, allocations: 17.09 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.007609, allocations: 3.938 kB / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.007623, allocations: 0 / 0.7914 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.007641, allocations: 4.688 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.007648, allocations: 4 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.442e-05/0.007712, allocations: 140.2 kB / 0.7915 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.007712, allocations: 3.938 kB / 0.7915 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000247/0.007959, allocations: 15.89 kB / 0.7916 GB, free: 7.617 MB / 0.7448 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.00012/0.008079, allocations: 96.28 kB / 0.7917 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.008183, allocations: 28.52 kB / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.008185, allocations: 0 / 0.7917 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.008199, allocations: 17.84 kB / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.008395, allocations: 6.062 kB / 0.7917 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.008763, allocations: 174.5 kB / 0.7919 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.702e-05/0.00881, allocations: 59.34 kB / 0.7919 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.821e-05/0.008849, allocations: 6.781 kB / 0.7919 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.541e-05/0.008894, allocations: 8.5 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of SimCode: time 8.02e-07/0.008895, allocations: 0 / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.002742/0.01164, allocations: 352.2 kB / 0.7923 GB, free: 6.832 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.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.283149211667478]