Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.002573/0.002573, allocations: 83.69 kB / 20.24 MB, free: 4.18 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.003161/0.003161, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.581/1.581, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 3.014/3.014, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.574e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002089/0.002115, allocations: 0.854 MB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001551/0.00227, allocations: 59.7 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.002326, allocations: 4.844 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.002363, allocations: 7.875 kB / 0.7873 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.002454, allocations: 12.72 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 7.156e-05/0.002525, allocations: 27.97 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.002665, allocations: 84.31 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.002794, allocations: 33.23 kB / 0.7874 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.882e-05/0.002893, allocations: 52.61 kB / 0.7875 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.322e-05/0.002946, allocations: 19.91 kB / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.002971, allocations: 8.906 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.362e-05/0.002984, allocations: 8 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.003017, allocations: 24.56 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.003056, allocations: 27.86 kB / 0.7876 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.00321, allocations: 103.1 kB / 0.7877 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003212, allocations: 0 / 0.7877 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003213, allocations: 0 / 0.7877 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003217, allocations: 0 / 0.7877 GB, free: 11.49 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005891/0.003806, allocations: 432 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.003842, allocations: 11.97 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.003903, allocations: 20.84 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.004136, allocations: 143.6 kB / 0.7883 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.004154, allocations: 8.562 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.00417, allocations: 9.031 kB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.00438, allocations: 113.9 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.004391, allocations: 0.5938 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.004409, allocations: 9.625 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.004414, allocations: 0 / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.004521, allocations: 47.91 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.005182, allocations: 498.2 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.005292, allocations: 58.84 kB / 0.789 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.00534, allocations: 24.66 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.005353, allocations: 0 / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.005386, allocations: 37.39 kB / 0.789 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.005386, allocations: 1.531 kB / 0.789 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.005565, allocations: 53.8 kB / 0.7891 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.005627, allocations: 78.7 kB / 0.7892 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.005824, allocations: 205.8 kB / 0.7893 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.005846, allocations: 25.7 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.005968, allocations: 170.8 kB / 0.7895 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.005981, allocations: 12.56 kB / 0.7895 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.006028, allocations: 27.33 kB / 0.7896 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002641/0.006292, allocations: 494.1 kB / 0.79 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.006314, allocations: 8 kB / 0.7901 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.945e-05/0.006353, allocations: 35.34 kB / 0.7901 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.662e-05/0.00641, allocations: 35.81 kB / 0.7901 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006412, allocations: 0 / 0.7901 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.682e-05/0.006509, allocations: 62.34 kB / 0.7902 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.006525, allocations: 11.41 kB / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.006529, allocations: 0 / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.006543, allocations: 0 / 0.7902 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.006601, allocations: 4.625 kB / 0.7902 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.006606, allocations: 4 kB / 0.7902 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.565e-05/0.006632, allocations: 5.078 kB / 0.7902 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.006636, allocations: 0 / 0.7902 GB, free: 8.652 MB / 0.7448 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.0001259/0.006761, allocations: 169.3 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.006797, allocations: 0 / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.006823, allocations: 16.45 kB / 0.7904 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.006825, allocations: 0 / 0.7904 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.006828, allocations: 1.219 kB / 0.7904 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.00683, allocations: 4 kB / 0.7904 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.007355, allocations: 0.5694 MB / 0.7909 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007356, allocations: 0.5312 kB / 0.7909 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.03e-05/0.007376, allocations: 5.125 kB / 0.7909 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.007378, allocations: 0 / 0.7909 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.007383, allocations: 0 / 0.7909 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-06/0.007384, allocations: 4.875 kB / 0.791 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.007387, allocations: 3.984 kB / 0.791 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.007506, allocations: 92.88 kB / 0.791 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.007533, allocations: 11.94 kB / 0.7911 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.007545, allocations: 2.219 kB / 0.7911 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.007564, allocations: 4 kB / 0.7911 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.007586, allocations: 4 kB / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.007588, allocations: 3.938 kB / 0.7911 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001117/0.007699, allocations: 151.1 kB / 0.7912 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0077, allocations: 0 / 0.7912 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001815/0.007881, allocations: 14.72 kB / 0.7912 GB, free: 7.523 MB / 0.7448 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.0001243/0.008005, allocations: 103.2 kB / 0.7913 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.00812, allocations: 23.69 kB / 0.7913 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008122, allocations: 0 / 0.7913 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.488e-05/0.008147, allocations: 21.09 kB / 0.7914 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.008295, allocations: 4 kB / 0.7914 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.008672, allocations: 198.3 kB / 0.7916 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.755e-05/0.00877, allocations: 88.05 kB / 0.7916 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.008809, allocations: 9.078 kB / 0.7917 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.008837, allocations: 12.5 kB / 0.7917 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of SimCode: time 4.6e-07/0.008837, allocations: 0 / 0.7917 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.002965/0.0118, allocations: 352.3 kB / 0.792 GB, free: 6.684 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.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.07179899001494]