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.002158/0.002158, allocations: 81.5 kB / 19.44 MB, free: 336 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.002794/0.002794, allocations: 177.2 kB / 22.76 MB, free: 1.652 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 1.604/1.604, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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 3.346/3.346, allocations: 429.5 MB / 0.6729 GB, free: 3.988 MB / 0.6355 GB " [Timeout remaining time 176] 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.683e-06/1.683e-06, allocations: 0 / 0.8774 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.041e-05, allocations: 9.797 kB / 0.8775 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002059/0.002089, allocations: 0.8093 MB / 0.8782 GB, free: 5.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001248/0.002214, allocations: 40.56 kB / 0.8783 GB, free: 5.809 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.002265, allocations: 4.781 kB / 0.8783 GB, free: 5.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.018e-05/0.002315, allocations: 12.95 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.144e-05/0.002407, allocations: 11.88 kB / 0.8783 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.733e-05/0.002454, allocations: 15.98 kB / 0.8783 GB, free: 5.766 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.002578, allocations: 60.5 kB / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.002707, allocations: 35.89 kB / 0.8784 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.002804, allocations: 37.3 kB / 0.8785 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.002854, allocations: 23.91 kB / 0.8785 GB, free: 5.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.002874, allocations: 4 kB / 0.8785 GB, free: 5.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.412e-05/0.002888, allocations: 11.91 kB / 0.8785 GB, free: 5.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.073e-05/0.002908, allocations: 11.92 kB / 0.8785 GB, free: 5.59 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.002947, allocations: 23.92 kB / 0.8785 GB, free: 5.566 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.003078, allocations: 75.69 kB / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.00308, allocations: 0 / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.92e-07/0.003081, allocations: 0 / 0.8786 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.003086, allocations: 0 / 0.8786 GB, free: 5.492 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.0005475/0.003634, allocations: 408 kB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.00367, allocations: 8.031 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.003714, allocations: 12.89 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.003938, allocations: 145.3 kB / 0.8791 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.003955, allocations: 8.375 kB / 0.8792 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.003971, allocations: 9.406 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.004149, allocations: 95.95 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.004158, allocations: 192 / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.004174, allocations: 9.469 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.004187, allocations: 384 / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.004278, allocations: 43.84 kB / 0.8793 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.004887, allocations: 475.3 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.982e-05/0.004976, allocations: 62.25 kB / 0.8798 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.005021, allocations: 24.56 kB / 0.8798 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.005032, allocations: 0 / 0.8798 GB, free: 4.074 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.005064, allocations: 38.05 kB / 0.8799 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.005065, allocations: 7.469 kB / 0.8799 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.005254, allocations: 49.62 kB / 0.8799 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.005315, allocations: 77.11 kB / 0.88 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.005498, allocations: 200.3 kB / 0.8802 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.005516, allocations: 29.7 kB / 0.8802 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.005628, allocations: 162.6 kB / 0.8804 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.306e-06/0.005637, allocations: 3.953 kB / 0.8804 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.005683, allocations: 23.38 kB / 0.8804 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003767/0.006059, allocations: 0.4931 MB / 0.8809 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.006078, allocations: 4 kB / 0.8809 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.006126, allocations: 23.97 kB / 0.8809 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.62e-05/0.006182, allocations: 36.67 kB / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006184, allocations: 0 / 0.881 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.555e-05/0.006279, allocations: 58.19 kB / 0.881 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.006293, allocations: 5.375 kB / 0.881 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.006299, allocations: 4 kB / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.006314, allocations: 0 / 0.881 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.353e-05/0.006377, allocations: 7.984 kB / 0.881 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.006385, allocations: 5.281 kB / 0.881 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3e-05/0.006415, allocations: 7.938 kB / 0.881 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.00642, allocations: 0 / 0.881 GB, free: 2.758 MB / 0.8386 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 0.0001203/0.00654, allocations: 165.1 kB / 0.8812 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.006581, allocations: 9.109 kB / 0.8812 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.739e-05/0.006608, allocations: 11.41 kB / 0.8812 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.006612, allocations: 4 kB / 0.8812 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.006617, allocations: 4 kB / 0.8812 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.006626, allocations: 12.23 kB / 0.8812 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005047/0.007131, allocations: 0.55 MB / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007132, allocations: 0 / 0.8818 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.159e-05/0.007153, allocations: 4 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.007158, allocations: 3.984 kB / 0.8818 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007165, allocations: 3.938 kB / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.007167, allocations: 0 / 0.8818 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.00717, allocations: 4 kB / 0.8818 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001064/0.007276, allocations: 84.09 kB / 0.8819 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.007301, allocations: 12.03 kB / 0.8819 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.007315, allocations: 11.88 kB / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.745e-05/0.007333, allocations: 0 / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.00735, allocations: 0 / 0.8819 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.007357, allocations: 8 kB / 0.8819 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.719e-05/0.007454, allocations: 139.2 kB / 0.882 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007454, allocations: 0 / 0.882 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001797/0.007634, allocations: 8 kB / 0.882 GB, free: 1.645 MB / 0.8386 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.0001231/0.007757, allocations: 99.25 kB / 0.8821 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.713e-05/0.007854, allocations: 27.67 kB / 0.8822 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.007857, allocations: 7.938 kB / 0.8822 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.007876, allocations: 11.69 kB / 0.8822 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.008023, allocations: 4 kB / 0.8822 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.008377, allocations: 174.6 kB / 0.8823 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.358e-05/0.008461, allocations: 79.88 kB / 0.8824 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.00849, allocations: 8.328 kB / 0.8824 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.008515, allocations: 12.5 kB / 0.8824 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.008515, allocations: 4 kB / 0.8824 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of Templates: time 0.002928/0.01144, allocations: 351.9 kB / 0.8828 GB, free: 0.8047 MB / 0.8386 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","/var/lib/jenkins/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: 8.431934479973279]