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.0009542/0.0009542, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.000993/0.000993, allocations: 169 kB / 23.02 MB, free: 1.543 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.9277/0.9277, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.092/2.092, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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 2.335e-06/2.335e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.941e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001874/0.001904, allocations: 0.8277 MB / 0.879 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001234/0.002027, allocations: 43.72 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.492e-05/0.002072, allocations: 0.5312 kB / 0.879 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.9e-05/0.002111, allocations: 9.312 kB / 0.879 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.672e-05/0.002208, allocations: 15.86 kB / 0.8791 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.305e-05/0.002251, allocations: 19.98 kB / 0.8791 GB, free: 5.406 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.51e-05/0.002346, allocations: 63.77 kB / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.002478, allocations: 28.58 kB / 0.8792 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.002584, allocations: 44.64 kB / 0.8792 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.951e-05/0.002623, allocations: 11.92 kB / 0.8792 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.002645, allocations: 5.094 kB / 0.8792 GB, free: 5.258 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.165e-06/0.002653, allocations: 4 kB / 0.8792 GB, free: 5.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.002674, allocations: 15.92 kB / 0.8792 GB, free: 5.238 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.833e-05/0.002702, allocations: 20.58 kB / 0.8793 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.978e-05/0.002802, allocations: 43.77 kB / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.002805, allocations: 1.219 kB / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.52e-07/0.002806, allocations: 0 / 0.8793 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.002812, allocations: 0 / 0.8793 GB, free: 5.176 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.0004239/0.003236, allocations: 413.2 kB / 0.8797 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.003279, allocations: 8.031 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.003327, allocations: 17.92 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.003485, allocations: 136.4 kB / 0.8799 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.003499, allocations: 12.31 kB / 0.8799 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.003511, allocations: 5.5 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.003651, allocations: 85.61 kB / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.00366, allocations: 192 / 0.88 GB, free: 4.438 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.003672, allocations: 5.469 kB / 0.88 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.003682, allocations: 4.375 kB / 0.88 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.566e-05/0.003728, allocations: 27.86 kB / 0.88 GB, free: 4.402 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.004248, allocations: 0.7502 MB / 0.8807 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.004351, allocations: 269.4 kB / 0.881 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.004397, allocations: 127.6 kB / 0.8811 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.004435, allocations: 119.2 kB / 0.8812 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.004487, allocations: 164 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.773e-06/0.004489, allocations: 0 / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.432e-05/0.004563, allocations: 33.66 kB / 0.8814 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.004626, allocations: 178.5 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.004762, allocations: 200.1 kB / 0.8818 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.004771, allocations: 29.7 kB / 0.8818 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/0.004852, allocations: 170.5 kB / 0.882 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-06/0.004855, allocations: 0 / 0.882 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.542e-05/0.004891, allocations: 31.33 kB / 0.882 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.005017, allocations: 0.4895 MB / 0.8825 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.005034, allocations: 4 kB / 0.8825 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.045e-05/0.005084, allocations: 81.42 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.62e-05/0.005161, allocations: 89.5 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.005163, allocations: 0 / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001687/0.005332, allocations: 93.47 kB / 0.8827 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.005348, allocations: 4 kB / 0.8827 GB, free: 1.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.005355, allocations: 4 kB / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.005371, allocations: 0 / 0.8827 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.00544, allocations: 15.94 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.005449, allocations: 7.938 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.005479, allocations: 7.953 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.005484, allocations: 4 kB / 0.8828 GB, free: 1.348 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 9.491e-05/0.005579, allocations: 283.9 kB / 0.883 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.005631, allocations: 160.8 kB / 0.8832 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.005681, allocations: 160.6 kB / 0.8833 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.035e-05/0.005741, allocations: 268 kB / 0.8836 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.786e-05/0.005809, allocations: 280 kB / 0.8839 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.401e-05/0.005893, allocations: 268.1 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.006096, allocations: 0.5076 MB / 0.8846 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-05/0.006134, allocations: 144.9 kB / 0.8848 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.178e-05/0.006176, allocations: 156.8 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.599e-05/0.006252, allocations: 264.1 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.006313, allocations: 264.1 kB / 0.8854 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-05/0.006375, allocations: 276 kB / 0.8857 GB, free: 14.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000212/0.006587, allocations: 268.1 kB / 0.8859 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.006726, allocations: 455.9 kB / 0.8864 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.006775, allocations: 152.8 kB / 0.8865 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.804e-05/0.006843, allocations: 272 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.276e-05/0.006896, allocations: 144.9 kB / 0.8869 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.006962, allocations: 272.3 kB / 0.8872 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.006997, allocations: 152.8 kB / 0.8873 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.145e-05/0.007058, allocations: 148.7 kB / 0.8874 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007058, allocations: 0 / 0.8874 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001645/0.007223, allocations: 4 kB / 0.8875 GB, free: 12.34 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 0.0001199/0.007343, allocations: 218.4 kB / 0.8877 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.886e-05/0.007442, allocations: 39.58 kB / 0.8877 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.007444, allocations: 0 / 0.8877 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.007445, allocations: 0 / 0.8877 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.007757, allocations: 0.7062 MB / 0.8884 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.008082, allocations: 269.7 kB / 0.8886 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.942e-05/0.008121, allocations: 63.78 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.141e-05/0.008162, allocations: 12.72 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.008185, allocations: 12.5 kB / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of SimCode: time 6.91e-07/0.008186, allocations: 0 / 0.8887 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.002178/0.01036, allocations: 323.5 kB / 0.889 GB, free: 10.64 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.248550405725837]