Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001009/0.001009, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001168/0.001168, allocations: 169 kB / 24.06 MB, free: 452 kB / 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 1.019/1.019, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.146/2.146, allocations: 429.5 MB / 0.6743 GB, free: 3.93 MB / 0.6355 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.578e-05, allocations: 2.312 kB / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001282/0.001298, allocations: 0.8276 MB / 0.8802 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001146/0.001413, allocations: 48.81 kB / 0.8803 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.164e-05/0.001464, allocations: 0.6562 kB / 0.8803 GB, free: 5.156 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.001498, allocations: 7.875 kB / 0.8803 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.42e-05/0.001572, allocations: 15.55 kB / 0.8803 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.42e-05/0.001607, allocations: 15.98 kB / 0.8803 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.769e-05/0.001704, allocations: 67.78 kB / 0.8804 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.001805, allocations: 27.97 kB / 0.8804 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.88e-05/0.001894, allocations: 43.83 kB / 0.8804 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.387e-05/0.001928, allocations: 19.92 kB / 0.8804 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.001943, allocations: 4 kB / 0.8804 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.372e-06/0.001949, allocations: 4 kB / 0.8805 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.001972, allocations: 15.92 kB / 0.8805 GB, free: 4.941 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.001993, allocations: 13.78 kB / 0.8805 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.54e-05/0.002078, allocations: 43.83 kB / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.002081, allocations: 0 / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.002082, allocations: 0 / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.002087, allocations: 3.938 kB / 0.8805 GB, free: 4.883 MB / 0.8386 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.000598/0.002685, allocations: 417.2 kB / 0.8809 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.002716, allocations: 8.031 kB / 0.8809 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.002744, allocations: 13.98 kB / 0.8809 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.002868, allocations: 136.5 kB / 0.8811 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.002878, allocations: 8.312 kB / 0.8811 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.747e-06/0.002887, allocations: 9.438 kB / 0.8811 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.873e-05/0.002976, allocations: 89.52 kB / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.002983, allocations: 192 / 0.8812 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.002992, allocations: 5.5 kB / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.002997, allocations: 384 / 0.8812 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.018e-05/0.003027, allocations: 27.84 kB / 0.8812 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.003383, allocations: 0.7235 MB / 0.8819 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.445e-05/0.003458, allocations: 273.4 kB / 0.8822 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.867e-05/0.003486, allocations: 129.3 kB / 0.8823 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.003511, allocations: 119.2 kB / 0.8824 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.003548, allocations: 152.6 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 6.71e-07/0.003549, allocations: 0 / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.707e-05/0.003596, allocations: 37.59 kB / 0.8826 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.003647, allocations: 178.6 kB / 0.8828 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.003749, allocations: 206.2 kB / 0.883 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.003758, allocations: 25.7 kB / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.003828, allocations: 174.5 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.003831, allocations: 0 / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.003859, allocations: 31.31 kB / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.003968, allocations: 0.4884 MB / 0.8837 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-06/0.003977, allocations: 8.703 kB / 0.8837 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.004013, allocations: 73.48 kB / 0.8837 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/0.004077, allocations: 92.7 kB / 0.8838 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.004079, allocations: 0 / 0.8838 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001006/0.00418, allocations: 79.31 kB / 0.8839 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.004192, allocations: 12.03 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.004196, allocations: 0 / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.004206, allocations: 4 kB / 0.8839 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.131e-05/0.004247, allocations: 12 kB / 0.8839 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.004254, allocations: 11.92 kB / 0.8839 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.004275, allocations: 7.891 kB / 0.8839 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.004279, allocations: 8 kB / 0.884 GB, free: 1.09 MB / 0.8386 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.499e-05/0.004364, allocations: 283.7 kB / 0.8842 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.689e-05/0.004411, allocations: 152.8 kB / 0.8844 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.004455, allocations: 156.6 kB / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-05/0.004513, allocations: 280 kB / 0.8848 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.799e-05/0.004581, allocations: 268 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.793e-05/0.004639, allocations: 276 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.004804, allocations: 492.5 kB / 0.8858 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/0.004839, allocations: 148.8 kB / 0.8859 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.004871, allocations: 148.9 kB / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.916e-05/0.00493, allocations: 272 kB / 0.8863 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.889e-05/0.004989, allocations: 268.1 kB / 0.8866 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.849e-05/0.005047, allocations: 268.1 kB / 0.8868 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.477e-05/0.005102, allocations: 268 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001226/0.005225, allocations: 455.8 kB / 0.8875 GB, free: 13.28 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.005267, allocations: 156.8 kB / 0.8877 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.486e-05/0.005332, allocations: 268 kB / 0.8879 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003479/0.00568, allocations: 148.9 kB / 0.8881 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.005737, allocations: 268.4 kB / 0.8883 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.005769, allocations: 152.8 kB / 0.8885 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.607e-05/0.005815, allocations: 141.4 kB / 0.8886 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005815, allocations: 0 / 0.8886 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001468/0.005962, allocations: 8 kB / 0.8886 GB, free: 12.13 MB / 0.8542 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 8.831e-05/0.006051, allocations: 214.4 kB / 0.8888 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.452e-05/0.006115, allocations: 43.58 kB / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.006117, allocations: 0 / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.006118, allocations: 0 / 0.8889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.00639, allocations: 0.71 MB / 0.8896 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.00661, allocations: 273.7 kB / 0.8898 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.715e-05/0.006648, allocations: 56.06 kB / 0.8899 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.353e-05/0.006681, allocations: 17.2 kB / 0.8899 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.134e-05/0.006712, allocations: 70.2 kB / 0.89 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/0.006713, allocations: 0 / 0.89 GB, free: 10.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.001676/0.00839, allocations: 342.7 kB / 0.8903 GB, free: 10.35 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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.486939839553088]