Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001184/0.001184, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.0015/0.0015, allocations: 173 kB / 24.06 MB, free: 456 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 0.9943/0.9943, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.141/2.141, allocations: 429.5 MB / 0.6743 GB, free: 3.922 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8794 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.677e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001491/0.001508, allocations: 0.8275 MB / 0.8802 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001127/0.00162, allocations: 47.72 kB / 0.8803 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.001671, allocations: 0 / 0.8803 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.00171, allocations: 10.84 kB / 0.8803 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.616e-05/0.001796, allocations: 7.938 kB / 0.8803 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.898e-05/0.001835, allocations: 19.97 kB / 0.8803 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.097e-05/0.001926, allocations: 63.78 kB / 0.8804 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.002035, allocations: 31.97 kB / 0.8804 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.257e-05/0.002118, allocations: 39.84 kB / 0.8804 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.002153, allocations: 15.92 kB / 0.8804 GB, free: 5.012 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.00217, allocations: 8.719 kB / 0.8804 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.002183, allocations: 4 kB / 0.8804 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.186e-05/0.002205, allocations: 17.56 kB / 0.8805 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.002226, allocations: 15.94 kB / 0.8805 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.989e-05/0.002316, allocations: 39.83 kB / 0.8805 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.002319, allocations: 4 kB / 0.8805 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.00232, allocations: 0.5 kB / 0.8805 GB, free: 4.926 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.002324, allocations: 0 / 0.8805 GB, free: 4.926 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.0003158/0.00264, allocations: 413.7 kB / 0.8809 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.002677, allocations: 12.02 kB / 0.8809 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.745e-05/0.002705, allocations: 12.89 kB / 0.8809 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.002824, allocations: 141 kB / 0.8811 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.002835, allocations: 12.31 kB / 0.8811 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.002844, allocations: 9.719 kB / 0.8811 GB, free: 4.277 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.002947, allocations: 83.88 kB / 0.8812 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.002955, allocations: 192 / 0.8812 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.002962, allocations: 4.375 kB / 0.8812 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.002969, allocations: 5.969 kB / 0.8812 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.756e-05/0.002997, allocations: 19.92 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003912/0.003388, allocations: 0.7262 MB / 0.8819 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.00347, allocations: 277.6 kB / 0.8822 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.0035, allocations: 126.9 kB / 0.8823 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.003528, allocations: 119.2 kB / 0.8824 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.003565, allocations: 152.6 kB / 0.8826 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.003566, allocations: 0 / 0.8826 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.515e-05/0.003621, allocations: 33.66 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.003674, allocations: 174.5 kB / 0.8828 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.003779, allocations: 211.1 kB / 0.883 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.003788, allocations: 25.7 kB / 0.883 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.003854, allocations: 174.5 kB / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.003856, allocations: 0 / 0.8831 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.003887, allocations: 31.33 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.004017, allocations: 0.4923 MB / 0.8837 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-06/0.004025, allocations: 4 kB / 0.8837 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.004076, allocations: 77.47 kB / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.59e-05/0.004162, allocations: 89.38 kB / 0.8838 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004164, allocations: 0 / 0.8838 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000108/0.004272, allocations: 77.5 kB / 0.8839 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.004285, allocations: 11.98 kB / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.004289, allocations: 0 / 0.8839 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.0043, allocations: 4 kB / 0.8839 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-05/0.004349, allocations: 12.25 kB / 0.8839 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.004352, allocations: 4 kB / 0.8839 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.004377, allocations: 11.89 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.004382, allocations: 4 kB / 0.8839 GB, free: 1.133 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 0.0001014/0.004483, allocations: 287.6 kB / 0.8842 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.004538, allocations: 156.8 kB / 0.8844 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.004594, allocations: 156.6 kB / 0.8845 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.297e-05/0.004657, allocations: 268 kB / 0.8848 GB, free: 256 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.513e-05/0.004733, allocations: 268.1 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-05/0.0048, allocations: 284 kB / 0.8853 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.004975, allocations: 492.5 kB / 0.8858 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-05/0.005012, allocations: 152.8 kB / 0.8859 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.005045, allocations: 148.9 kB / 0.8861 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.005104, allocations: 268.1 kB / 0.8863 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.005161, allocations: 268 kB / 0.8866 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.758e-05/0.005218, allocations: 280.1 kB / 0.8868 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-05/0.005275, allocations: 268 kB / 0.8871 GB, free: 13.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.005394, allocations: 451.9 kB / 0.8875 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.005438, allocations: 156.8 kB / 0.8877 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.0055, allocations: 264.1 kB / 0.8879 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.602e-05/0.005566, allocations: 148.8 kB / 0.8881 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.005621, allocations: 272.4 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.005657, allocations: 152.8 kB / 0.8885 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.005705, allocations: 145.2 kB / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005705, allocations: 0 / 0.8886 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001515/0.005856, allocations: 8 kB / 0.8886 GB, free: 12.16 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.725e-05/0.005944, allocations: 214.4 kB / 0.8888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.618e-05/0.00601, allocations: 39.58 kB / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.006011, allocations: 0.5 kB / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.084e-06/0.006013, allocations: 4 kB / 0.8889 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.006291, allocations: 0.7062 MB / 0.8896 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.00651, allocations: 269.6 kB / 0.8898 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.813e-05/0.006538, allocations: 59.34 kB / 0.8899 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.016e-05/0.006568, allocations: 8.719 kB / 0.8899 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.006597, allocations: 70.2 kB / 0.8899 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.006597, allocations: 0 / 0.8899 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of Templates: time 0.001638/0.008235, allocations: 347.6 kB / 0.8903 GB, free: 10.38 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.4014679049141705]