Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001126/0.001126, allocations: 81.14 kB / 19.87 MB, free: 4.621 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.001063/0.001063, allocations: 173 kB / 23.28 MB, free: 1.223 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.9488/0.9488, allocations: 177.1 MB / 203.7 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.44/2.44, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.278e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00143/0.001452, allocations: 0.831 MB / 0.8906 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001043/0.001557, allocations: 39.78 kB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.001601, allocations: 0 / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.00163, allocations: 7.875 kB / 0.8906 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.185e-05/0.001702, allocations: 19.8 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-05/0.00174, allocations: 15.98 kB / 0.8906 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.888e-05/0.001819, allocations: 59.84 kB / 0.8907 GB, free: 8.805 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.001925, allocations: 31.97 kB / 0.8907 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.87e-05/0.002014, allocations: 39.84 kB / 0.8908 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.00205, allocations: 19.97 kB / 0.8908 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.002065, allocations: 4 kB / 0.8908 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.505e-06/0.002072, allocations: 4 kB / 0.8908 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.002089, allocations: 15.92 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.204e-05/0.002111, allocations: 11.94 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.147e-05/0.002193, allocations: 51.7 kB / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.002195, allocations: 0 / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.41e-07/0.002196, allocations: 0 / 0.8909 GB, free: 8.629 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.0022, allocations: 0 / 0.8909 GB, free: 8.629 MB / 0.8542 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.0003029/0.002502, allocations: 424.2 kB / 0.8913 GB, free: 8.176 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.002541, allocations: 8.625 kB / 0.8913 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.002569, allocations: 20.84 kB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.002678, allocations: 136.4 kB / 0.8914 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.002689, allocations: 8.359 kB / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.002698, allocations: 8.375 kB / 0.8914 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.025e-05/0.002788, allocations: 83.62 kB / 0.8915 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.002794, allocations: 192 / 0.8915 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.002803, allocations: 8.375 kB / 0.8915 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.002807, allocations: 384 / 0.8915 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.937e-05/0.002836, allocations: 31.84 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.003234, allocations: 0.7186 MB / 0.8923 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.00331, allocations: 265.4 kB / 0.8925 GB, free: 6.801 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.934e-05/0.00334, allocations: 126.9 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.003366, allocations: 119.2 kB / 0.8927 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.003667, allocations: 156.6 kB / 0.8929 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.003668, allocations: 4 kB / 0.8929 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.065e-05/0.003718, allocations: 33.66 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.003766, allocations: 178.6 kB / 0.8931 GB, free: 6.16 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.003866, allocations: 203.1 kB / 0.8933 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.003874, allocations: 25.7 kB / 0.8933 GB, free: 5.914 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.003942, allocations: 174.5 kB / 0.8935 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.003944, allocations: 3.984 kB / 0.8935 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.003974, allocations: 27.33 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.004069, allocations: 0.4884 MB / 0.894 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-06/0.004078, allocations: 7.984 kB / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.004114, allocations: 81.42 kB / 0.8941 GB, free: 5.078 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.00417, allocations: 93.36 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.004172, allocations: 0 / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.309e-05/0.004266, allocations: 77.5 kB / 0.8942 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.004278, allocations: 4.25 kB / 0.8942 GB, free: 4.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.004282, allocations: 4 kB / 0.8943 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.004294, allocations: 4 kB / 0.8943 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.487e-05/0.004339, allocations: 15.94 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.004344, allocations: 7.984 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.00437, allocations: 15.89 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.004373, allocations: 0 / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8.307e-05/0.004456, allocations: 279.7 kB / 0.8946 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.004501, allocations: 156.8 kB / 0.8947 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.00455, allocations: 156.7 kB / 0.8949 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.266e-05/0.004602, allocations: 272 kB / 0.8951 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.438e-05/0.004657, allocations: 276.1 kB / 0.8954 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.422e-05/0.004711, allocations: 268 kB / 0.8956 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/0.004879, allocations: 496.4 kB / 0.8961 GB, free: 2.871 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.435e-05/0.004913, allocations: 148.9 kB / 0.8963 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.004945, allocations: 152.8 kB / 0.8964 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-05/0.005, allocations: 268.1 kB / 0.8967 GB, free: 2.293 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.005054, allocations: 268.1 kB / 0.8969 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.077e-05/0.005105, allocations: 268 kB / 0.8972 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.086e-05/0.005155, allocations: 264.1 kB / 0.8974 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.005271, allocations: 460.1 kB / 0.8979 GB, free: 1.012 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.761e-05/0.005329, allocations: 164.8 kB / 0.898 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.005391, allocations: 264.1 kB / 0.8983 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.569e-05/0.005446, allocations: 152.9 kB / 0.8984 GB, free: 432 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.005503, allocations: 272 kB / 0.8987 GB, free: 152 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.005532, allocations: 144.9 kB / 0.8988 GB, free: 0 / 0.8542 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.005588, allocations: 141 kB / 0.8989 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.005588, allocations: 0 / 0.8989 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001992/0.005788, allocations: 12 kB / 0.899 GB, free: 15.85 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001097/0.005897, allocations: 214.4 kB / 0.8992 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.005964, allocations: 39.48 kB / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.005965, allocations: 0 / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.005966, allocations: 0 / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.006249, allocations: 0.71 MB / 0.8999 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.006512, allocations: 277.6 kB / 0.9002 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.08e-05/0.006543, allocations: 55.36 kB / 0.9002 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.006581, allocations: 17.2 kB / 0.9002 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.006614, allocations: 70.2 kB / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of SimCode: time 9.82e-07/0.006615, allocations: 0 / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.00179/0.008405, allocations: 336.8 kB / 0.9006 GB, free: 14.08 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.253007652238011]