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.002013/0.002013, allocations: 78.95 kB / 19.76 MB, free: 2.035 MB / 14.72 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.002398/0.002398, allocations: 159.2 kB / 23.01 MB, free: 4.941 MB / 14.72 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.525/1.525, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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.981/2.981, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9733/0.9754, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001798/0.9772, allocations: 0.7948 MB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0001011/0.9773, allocations: 37.06 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.9773, allocations: 5.312 kB / 1.187 GB, free: 15.65 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.9774, allocations: 5.859 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.263e-05/0.9774, allocations: 10.75 kB / 1.187 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 4.323e-05/0.9775, allocations: 24.75 kB / 1.187 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.9776, allocations: 62.17 kB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.9777, allocations: 36.12 kB / 1.188 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.9778, allocations: 28.08 kB / 1.188 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.366e-05/0.9778, allocations: 25.98 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.9778, allocations: 6.875 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.9778, allocations: 5.5 kB / 1.188 GB, free: 15.54 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.9779, allocations: 16.8 kB / 1.188 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.849e-05/0.9779, allocations: 20.77 kB / 1.188 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.978, allocations: 82.53 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.978, allocations: 1.375 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.978, allocations: 4 kB / 1.188 GB, free: 15.48 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.978, allocations: 0 / 1.188 GB, free: 15.48 MB / 1.076 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.0003523/0.9784, allocations: 300.8 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.9784, allocations: 10.33 kB / 1.188 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.9784, allocations: 16.73 kB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.9786, allocations: 145.3 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.9786, allocations: 3.469 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.9786, allocations: 9.344 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.9788, allocations: 93.62 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.9788, allocations: 0.9844 kB / 1.188 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.9788, allocations: 13.34 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.9788, allocations: 1.594 kB / 1.188 GB, free: 14.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.448e-05/0.9789, allocations: 40.77 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.9793, allocations: 353 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/0.9794, allocations: 40.67 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.9794, allocations: 16.17 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.9794, allocations: 2.688 kB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.9794, allocations: 36.19 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9794, allocations: 4 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.9796, allocations: 55.23 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.9796, allocations: 78.83 kB / 1.189 GB, free: 14.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.9797, allocations: 125 kB / 1.189 GB, free: 14.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.9797, allocations: 25.7 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.9798, allocations: 113.2 kB / 1.189 GB, free: 14.1 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.9798, allocations: 9.984 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.9798, allocations: 18.3 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.023e-05/0.9799, allocations: 314.1 kB / 1.189 GB, free: 13.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.898e-05/0.9799, allocations: 9.094 kB / 1.189 GB, free: 13.75 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.227e-05/0.9799, allocations: 27.62 kB / 1.19 GB, free: 13.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.035e-05/0.98, allocations: 24.48 kB / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.98, allocations: 0 / 1.19 GB, free: 13.71 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.029e-05/0.98, allocations: 52.59 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.9801, allocations: 4.781 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.9801, allocations: 1.156 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.9801, allocations: 5.969 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.9801, allocations: 9.531 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.9801, allocations: 5.406 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.9802, allocations: 6.344 kB / 1.19 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.9802, allocations: 9.25 kB / 1.19 GB, free: 13.64 MB / 1.076 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 5.263e-05/0.9802, allocations: 113.3 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.9803, allocations: 2.781 kB / 1.19 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.9803, allocations: 11.62 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.9803, allocations: 0 / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9803, allocations: 1.641 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.9803, allocations: 1.062 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.9805, allocations: 416 kB / 1.19 GB, free: 13.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9805, allocations: 9.953 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.99e-05/0.9806, allocations: 7.344 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9806, allocations: 1.375 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.9806, allocations: 0 / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.9806, allocations: 2.234 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9806, allocations: 0 / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.118e-05/0.9806, allocations: 73.59 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.9807, allocations: 11.69 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.9807, allocations: 1.797 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.9807, allocations: 5.219 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.9807, allocations: 3.078 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.9807, allocations: 1.219 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.965e-05/0.9808, allocations: 102.5 kB / 1.19 GB, free: 12.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.9808, allocations: 0 / 1.19 GB, free: 12.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001903/0.981, allocations: 15.58 kB / 1.19 GB, free: 12.91 MB / 1.076 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 9.428e-05/0.9811, allocations: 102.4 kB / 1.19 GB, free: 12.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.642e-05/0.9812, allocations: 19.44 kB / 1.19 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9812, allocations: 0 / 1.19 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.399e-05/0.9812, allocations: 16.89 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.9813, allocations: 7 kB / 1.191 GB, free: 12.79 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.9817, allocations: 152.7 kB / 1.191 GB, free: 12.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.896e-05/0.9817, allocations: 84.23 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.9818, allocations: 3.797 kB / 1.191 GB, free: 12.56 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/0.9818, allocations: 10.91 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.9818, allocations: 5.25 kB / 1.191 GB, free: 12.55 MB / 1.076 GB Notification: Performance of Templates: time 0.002557/0.9843, allocations: 330.8 kB / 1.191 GB, free: 12.47 MB / 1.076 GB " [Timeout remaining time 299] 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.212097086012363]