Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.00182/0.00182, allocations: 84.39 kB / 20.23 MB, free: 4.176 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.002333/0.002333, allocations: 161.7 kB / 23.54 MB, free: 0.8672 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.485/1.485, allocations: 177.1 MB / 203.9 MB, free: 5.598 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 2.704/2.704, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0.5469 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.554e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002134/0.002169, allocations: 0.802 MB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001547/0.002324, allocations: 40.34 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.26e-05/0.002387, allocations: 4.688 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.787e-05/0.002434, allocations: 3.938 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.002541, allocations: 12.72 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 6.515e-05/0.002606, allocations: 19.98 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.002749, allocations: 68.47 kB / 0.7873 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.002893, allocations: 27.92 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.003017, allocations: 45.09 kB / 0.7874 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.003066, allocations: 15.91 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.604e-05/0.003092, allocations: 8 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.678e-06/0.003102, allocations: 5.625 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.003129, allocations: 19.92 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.003175, allocations: 19.92 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.003317, allocations: 75.62 kB / 0.7875 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.003322, allocations: 5.219 kB / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003323, allocations: 0 / 0.7875 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.003327, allocations: 0 / 0.7875 GB, free: 11.65 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005386/0.003865, allocations: 303.6 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.003908, allocations: 12.03 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.869e-05/0.003967, allocations: 16.84 kB / 0.7878 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.004189, allocations: 133.7 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.004202, allocations: 3.812 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.004219, allocations: 12.38 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.004433, allocations: 87.89 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.004445, allocations: 4.172 kB / 0.7881 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.00446, allocations: 8.375 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004466, allocations: 384 / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.473e-05/0.00456, allocations: 43.86 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.005132, allocations: 356.5 kB / 0.7885 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.123e-05/0.005203, allocations: 34.03 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.005248, allocations: 27.36 kB / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.005255, allocations: 3.938 kB / 0.7885 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.005293, allocations: 34.56 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.005294, allocations: 0 / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.000206/0.0055, allocations: 54.25 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.005563, allocations: 77.83 kB / 0.7887 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001523/0.005715, allocations: 134 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.005734, allocations: 25.7 kB / 0.7888 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.005863, allocations: 115.9 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.877e-06/0.005872, allocations: 4.797 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.005913, allocations: 21.7 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.006086, allocations: 310.8 kB / 0.7893 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.449e-05/0.006111, allocations: 13.34 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.907e-05/0.00614, allocations: 21.7 kB / 0.7893 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.006189, allocations: 30.69 kB / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.006191, allocations: 0 / 0.7893 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.006291, allocations: 50.55 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.006311, allocations: 10.5 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006316, allocations: 1.156 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/0.006339, allocations: 3.984 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.006401, allocations: 4 kB / 0.7894 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.006408, allocations: 5.375 kB / 0.7894 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.006436, allocations: 11.95 kB / 0.7894 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.00644, allocations: 0 / 0.7894 GB, free: 9.523 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 9.769e-05/0.006537, allocations: 114.4 kB / 0.7895 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.006574, allocations: 4.531 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.761e-05/0.006592, allocations: 3.469 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.006595, allocations: 8.516 kB / 0.7895 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006599, allocations: 0.8438 kB / 0.7895 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.006604, allocations: 3.938 kB / 0.7895 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.007036, allocations: 415.2 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.007037, allocations: 0 / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.007061, allocations: 8.516 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.007062, allocations: 1.375 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.007073, allocations: 3.938 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.007076, allocations: 3.938 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.007079, allocations: 4 kB / 0.79 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.007183, allocations: 75.22 kB / 0.79 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/0.00721, allocations: 11.94 kB / 0.79 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.007224, allocations: 4.75 kB / 0.79 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.772e-05/0.007242, allocations: 0 / 0.79 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.007258, allocations: 0 / 0.79 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.00726, allocations: 4.938 kB / 0.7901 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.238e-05/0.007342, allocations: 99.27 kB / 0.7901 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007342, allocations: 1.219 kB / 0.7901 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001937/0.007536, allocations: 11.95 kB / 0.7902 GB, free: 8.695 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.0001344/0.00767, allocations: 104.1 kB / 0.7903 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.007756, allocations: 14.22 kB / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.007758, allocations: 0 / 0.7903 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.317e-05/0.007771, allocations: 7.938 kB / 0.7903 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.007932, allocations: 11.94 kB / 0.7903 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/0.008306, allocations: 169.2 kB / 0.7905 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.292e-05/0.008389, allocations: 75.33 kB / 0.7905 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.024e-05/0.008419, allocations: 4.078 kB / 0.7905 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.478e-05/0.008454, allocations: 12.5 kB / 0.7905 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/0.008454, allocations: 0 / 0.7905 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of Templates: time 0.002874/0.01133, allocations: 353.3 kB / 0.7909 GB, free: 7.918 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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: 7.59622371091973]