Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002062/0.002062, allocations: 79.28 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.002868/0.002868, allocations: 163.2 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.573/1.573, allocations: 177.1 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.963/2.963, allocations: 377.8 MB / 0.6221 GB, free: 12.59 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.219e-05, allocations: 6.219 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001957/0.001989, allocations: 0.8452 MB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001596/0.002149, allocations: 51.78 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.393e-05/0.002213, allocations: 4 kB / 0.9823 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.762e-05/0.00226, allocations: 15.8 kB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.983e-05/0.00234, allocations: 3.938 kB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.751e-05/0.002408, allocations: 27.97 kB / 0.9824 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.002543, allocations: 79.72 kB / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.002694, allocations: 53 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.002785, allocations: 47.83 kB / 0.9825 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.168e-05/0.002847, allocations: 23.91 kB / 0.9826 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.002874, allocations: 8 kB / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.002889, allocations: 12 kB / 0.9826 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.002915, allocations: 19.86 kB / 0.9826 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.002962, allocations: 27.91 kB / 0.9826 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.003111, allocations: 91.67 kB / 0.9827 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.003114, allocations: 3.984 kB / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003115, allocations: 0 / 0.9827 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.00312, allocations: 4 kB / 0.9827 GB, free: 10.65 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004952/0.003615, allocations: 326 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.003655, allocations: 8.031 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.003696, allocations: 12.84 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.003916, allocations: 149.8 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.003929, allocations: 4.562 kB / 0.9832 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.003945, allocations: 8.375 kB / 0.9832 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.004133, allocations: 110.3 kB / 0.9833 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.004145, allocations: 3.938 kB / 0.9833 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.004155, allocations: 0 / 0.9833 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.004162, allocations: 4 kB / 0.9833 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.26e-05/0.004255, allocations: 43.98 kB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005562/0.004811, allocations: 376.3 kB / 0.9837 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.004882, allocations: 45.14 kB / 0.9838 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.004922, allocations: 17.78 kB / 0.9838 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.004929, allocations: 0 / 0.9838 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.00496, allocations: 38.56 kB / 0.9838 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004961, allocations: 0 / 0.9838 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.005143, allocations: 49.59 kB / 0.9839 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/0.005209, allocations: 85.03 kB / 0.9839 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.005357, allocations: 133.8 kB / 0.9841 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.005374, allocations: 25.7 kB / 0.9841 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.192e-05/0.005465, allocations: 120.3 kB / 0.9842 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/0.005476, allocations: 7.953 kB / 0.9842 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.005511, allocations: 17.72 kB / 0.9842 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.005663, allocations: 326.8 kB / 0.9845 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.005679, allocations: 0 / 0.9845 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.564e-05/0.005705, allocations: 21.72 kB / 0.9846 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.033e-05/0.005755, allocations: 25.7 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.005756, allocations: 0 / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.543e-05/0.005852, allocations: 57.59 kB / 0.9846 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.005868, allocations: 12.06 kB / 0.9847 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.005872, allocations: 3.938 kB / 0.9847 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.005886, allocations: 0 / 0.9847 GB, free: 8.441 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.554e-05/0.005951, allocations: 7.984 kB / 0.9847 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.005958, allocations: 4 kB / 0.9847 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.38e-05/0.005982, allocations: 0 / 0.9847 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.005986, allocations: 0 / 0.9847 GB, free: 8.43 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 0.0001058/0.006092, allocations: 121.7 kB / 0.9848 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.006136, allocations: 7.953 kB / 0.9848 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.00616, allocations: 11.91 kB / 0.9848 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.006163, allocations: 7.984 kB / 0.9848 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.00617, allocations: 4 kB / 0.9848 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.006175, allocations: 3.984 kB / 0.9848 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004354/0.006611, allocations: 430.4 kB / 0.9852 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.006612, allocations: 0 / 0.9852 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.29e-05/0.006634, allocations: 4 kB / 0.9852 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006636, allocations: 0 / 0.9852 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.006643, allocations: 112 / 0.9852 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.006645, allocations: 3.938 kB / 0.9852 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.006648, allocations: 4 kB / 0.9852 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.847e-05/0.006746, allocations: 81.94 kB / 0.9853 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.426e-05/0.00677, allocations: 8 kB / 0.9853 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.006785, allocations: 0 / 0.9853 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.762e-05/0.006802, allocations: 3.938 kB / 0.9853 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.006819, allocations: 7.984 kB / 0.9853 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.006823, allocations: 3.938 kB / 0.9853 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.88e-05/0.006902, allocations: 105.3 kB / 0.9854 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.006902, allocations: 0 / 0.9854 GB, free: 7.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002001/0.007102, allocations: 15.89 kB / 0.9855 GB, free: 7.551 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.000115/0.007217, allocations: 103.2 kB / 0.9856 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.294e-05/0.00731, allocations: 19.98 kB / 0.9856 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.007312, allocations: 0 / 0.9856 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-05/0.007326, allocations: 11.94 kB / 0.9856 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.007476, allocations: 4 kB / 0.9856 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003599/0.007836, allocations: 181.4 kB / 0.9858 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.985e-05/0.007916, allocations: 88.52 kB / 0.9858 GB, free: 7.094 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.007943, allocations: 3.984 kB / 0.9858 GB, free: 7.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.007973, allocations: 12.5 kB / 0.9859 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/0.007974, allocations: 0 / 0.9859 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of Templates: time 0.002778/0.01075, allocations: 346.7 kB / 0.9862 GB, free: 6.746 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.433810785412788]