Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0008446/0.0008446, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.0008167/0.0008167, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8907/0.8907, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.706/1.706, allocations: 377.8 MB / 0.6228 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.9822 GB, free: 2.055 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.912e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.051 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001191/0.00121, allocations: 0.7907 MB / 0.983 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.216e-05/0.001302, allocations: 39.78 kB / 0.983 GB, free: 1.223 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.001343, allocations: 4 kB / 0.983 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.001375, allocations: 7.875 kB / 0.983 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.001439, allocations: 15.81 kB / 0.983 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.43e-05/0.001484, allocations: 19.97 kB / 0.9831 GB, free: 1.176 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.574e-05/0.001569, allocations: 59.84 kB / 0.9831 GB, free: 1.117 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.001676, allocations: 27.97 kB / 0.9831 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.16e-05/0.001737, allocations: 39.84 kB / 0.9832 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.001777, allocations: 19.91 kB / 0.9832 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.001798, allocations: 12 kB / 0.9832 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.562e-06/0.001804, allocations: 4 kB / 0.9832 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.00182, allocations: 15.92 kB / 0.9832 GB, free: 1 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.001843, allocations: 19.92 kB / 0.9833 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.525e-05/0.001939, allocations: 75.64 kB / 0.9833 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.00194, allocations: 0 / 0.9833 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.001941, allocations: 0 / 0.9833 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.001945, allocations: 0 / 0.9833 GB, free: 0.9062 MB / 0.9323 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.0003274/0.002273, allocations: 306 kB / 0.9836 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.002309, allocations: 12.03 kB / 0.9836 GB, free: 0.5625 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.002339, allocations: 16.84 kB / 0.9836 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.002483, allocations: 133.6 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.002494, allocations: 12.38 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.002504, allocations: 4.375 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.002618, allocations: 95.89 kB / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.002624, allocations: 192 / 0.9839 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.002635, allocations: 4.375 kB / 0.9839 GB, free: 272 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.002641, allocations: 4.375 kB / 0.9839 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-05/0.002697, allocations: 35.92 kB / 0.9839 GB, free: 232 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.003047, allocations: 356.4 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.739e-05/0.003094, allocations: 41.2 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.699e-05/0.003121, allocations: 17.78 kB / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.003128, allocations: 7.938 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.003147, allocations: 34.59 kB / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.003148, allocations: 0 / 0.9844 GB, free: 15.71 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.003276, allocations: 49.59 kB / 0.9844 GB, free: 15.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.003312, allocations: 81.09 kB / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.003398, allocations: 136.4 kB / 0.9846 GB, free: 15.42 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.003408, allocations: 29.7 kB / 0.9846 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.003536, allocations: 108 kB / 0.9847 GB, free: 15.27 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-06/0.003544, allocations: 7.953 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.003569, allocations: 21.66 kB / 0.9848 GB, free: 15.24 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.881e-05/0.003638, allocations: 314.8 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.244e-05/0.00365, allocations: 4 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.885e-05/0.003669, allocations: 25.7 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.0037, allocations: 25.66 kB / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003702, allocations: 0 / 0.9851 GB, free: 14.86 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.303e-05/0.003755, allocations: 53.7 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.003767, allocations: 7.984 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.003771, allocations: 0 / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.003781, allocations: 4 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.8e-05/0.003829, allocations: 7.938 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.003834, allocations: 3.938 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.003848, allocations: 4 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.003852, allocations: 3.938 kB / 0.9852 GB, free: 14.77 MB / 0.948 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 5.579e-05/0.003908, allocations: 113.8 kB / 0.9853 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.003927, allocations: 12.02 kB / 0.9853 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.513e-05/0.003942, allocations: 11.45 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.003943, allocations: 0 / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.003948, allocations: 4 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.003951, allocations: 3.938 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.004181, allocations: 422.4 kB / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.004182, allocations: 0 / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-06/0.004189, allocations: 0 / 0.9857 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.00419, allocations: 4 kB / 0.9858 GB, free: 14.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.0042, allocations: 3.938 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.004201, allocations: 4.062 kB / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.004202, allocations: 96 / 0.9858 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.256e-05/0.004255, allocations: 81.84 kB / 0.9858 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.004271, allocations: 7.953 kB / 0.9858 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.004281, allocations: 7.938 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-06/0.00429, allocations: 4 kB / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.004301, allocations: 0 / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-06/0.004302, allocations: 0 / 0.9859 GB, free: 14.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.2e-05/0.004344, allocations: 103.3 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004344, allocations: 4 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001231/0.004467, allocations: 11.98 kB / 0.986 GB, free: 13.91 MB / 0.948 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 6.693e-05/0.004534, allocations: 99.77 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.388e-05/0.004598, allocations: 19.94 kB / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.004599, allocations: 0 / 0.9861 GB, free: 13.78 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/0.004606, allocations: 8 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/0.00471, allocations: 0 / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.004954, allocations: 196.2 kB / 0.9863 GB, free: 13.54 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.257e-05/0.004996, allocations: 75.58 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.005017, allocations: 12.5 kB / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of SimCode: time 2.9e-07/0.005017, allocations: 0 / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of Templates: time 0.001406/0.006423, allocations: 0.809 MB / 0.9872 GB, free: 12.62 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 6.476186219602823]