Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001425/0.001425, allocations: 79.36 kB / 19.18 MB, free: 2.516 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.001457/0.001457, allocations: 162 kB / 22.46 MB, free: 5.375 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.54/1.54, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.882/2.882, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.229e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.00194/0.001972, allocations: 0.7869 MB / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.002099, allocations: 47.78 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.395e-05/0.002153, allocations: 0 / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.002197, allocations: 7.875 kB / 0.9823 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.157e-05/0.002288, allocations: 19.8 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.266e-05/0.002341, allocations: 15.98 kB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.002461, allocations: 67.77 kB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.0026, allocations: 27.92 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.002705, allocations: 39.91 kB / 0.9824 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.002755, allocations: 19.89 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.002779, allocations: 12 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.002788, allocations: 4 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.002815, allocations: 15.94 kB / 0.9825 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.002854, allocations: 19.91 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.002977, allocations: 71.7 kB / 0.9826 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.002982, allocations: 4 kB / 0.9826 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.11e-07/0.002982, allocations: 0 / 0.9826 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.002986, allocations: 0 / 0.9826 GB, free: 10.77 MB / 0.9356 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.0004696/0.003456, allocations: 306 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.003506, allocations: 8.031 kB / 0.9829 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.003547, allocations: 20.84 kB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.003761, allocations: 129.6 kB / 0.983 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.003776, allocations: 8.375 kB / 0.983 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.003789, allocations: 4.375 kB / 0.983 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.00397, allocations: 99.88 kB / 0.9831 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.003979, allocations: 192 / 0.9831 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.00399, allocations: 384 / 0.9831 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.003997, allocations: 4.375 kB / 0.9831 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.004097, allocations: 39.92 kB / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005226/0.00462, allocations: 356.4 kB / 0.9835 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.379e-05/0.004694, allocations: 45.2 kB / 0.9835 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/0.004734, allocations: 17.78 kB / 0.9836 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-06/0.004742, allocations: 0 / 0.9836 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.004782, allocations: 38.59 kB / 0.9836 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.004783, allocations: 0 / 0.9836 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002114/0.004994, allocations: 53.58 kB / 0.9837 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.00506, allocations: 77.11 kB / 0.9837 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.005195, allocations: 140.9 kB / 0.9839 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.005212, allocations: 29.95 kB / 0.9839 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.448e-05/0.005297, allocations: 111.9 kB / 0.984 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.005303, allocations: 0 / 0.984 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.005343, allocations: 25.61 kB / 0.984 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.005485, allocations: 314.8 kB / 0.9843 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.005505, allocations: 11.98 kB / 0.9843 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.005536, allocations: 17.72 kB / 0.9843 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.646e-05/0.005583, allocations: 33.59 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005584, allocations: 0 / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.554e-05/0.00567, allocations: 57.69 kB / 0.9844 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.005685, allocations: 4 kB / 0.9844 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.00569, allocations: 0 / 0.9844 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.005706, allocations: 4 kB / 0.9844 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.78e-05/0.005774, allocations: 7.938 kB / 0.9845 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.005781, allocations: 3.938 kB / 0.9845 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.005812, allocations: 11.89 kB / 0.9845 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.005816, allocations: 0 / 0.9845 GB, free: 8.613 MB / 0.9356 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 9.098e-05/0.005907, allocations: 113.8 kB / 0.9846 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.005949, allocations: 12.05 kB / 0.9846 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.79e-05/0.005967, allocations: 3.469 kB / 0.9846 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.005968, allocations: 0 / 0.9846 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.005972, allocations: 0 / 0.9846 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.005979, allocations: 7.938 kB / 0.9846 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.006374, allocations: 410.4 kB / 0.985 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.006375, allocations: 4 kB / 0.985 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.78e-05/0.006393, allocations: 0 / 0.985 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.006397, allocations: 4 kB / 0.985 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.593e-05/0.006413, allocations: 7.938 kB / 0.985 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.006414, allocations: 4.062 kB / 0.985 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.006415, allocations: 0 / 0.985 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.691e-05/0.006512, allocations: 73.92 kB / 0.9851 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.006535, allocations: 7.953 kB / 0.9851 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.006549, allocations: 3.938 kB / 0.9851 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.00657, allocations: 4 kB / 0.9851 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.006585, allocations: 3.984 kB / 0.9851 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.006587, allocations: 0 / 0.9851 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.537e-05/0.006662, allocations: 99.27 kB / 0.9852 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of sort global known variables: time 6e-08/0.006662, allocations: 0 / 0.9852 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001975/0.006859, allocations: 11.95 kB / 0.9852 GB, free: 7.785 MB / 0.9356 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.0001159/0.006975, allocations: 103.8 kB / 0.9853 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.742e-05/0.007063, allocations: 15.94 kB / 0.9853 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.007065, allocations: 4 kB / 0.9853 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-05/0.007075, allocations: 4 kB / 0.9853 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/0.00723, allocations: 6.344 kB / 0.9853 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003427/0.007573, allocations: 173.5 kB / 0.9855 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.007648, allocations: 79.58 kB / 0.9856 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.502e-05/0.007693, allocations: 7.984 kB / 0.9856 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.76e-05/0.007721, allocations: 12.44 kB / 0.9856 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.007721, allocations: 3.938 kB / 0.9856 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of Templates: time 0.003075/0.0108, allocations: 340.2 kB / 0.9859 GB, free: 6.988 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.33863702043891]