Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00111/0.00111, allocations: 85.14 kB / 19.87 MB, free: 4.625 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.001081/0.001081, allocations: 165 kB / 23.27 MB, free: 1.234 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.9384/0.9384, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.448/2.448, allocations: 438.1 MB / 0.682 GB, free: 14.15 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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.241e-05/2.393e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001514/0.001538, allocations: 0.8139 MB / 0.8906 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001115/0.00165, allocations: 47.78 kB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.001696, allocations: 0 / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.001727, allocations: 7.875 kB / 0.8906 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.139e-05/0.001789, allocations: 11.81 kB / 0.8906 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.369e-05/0.001832, allocations: 23.97 kB / 0.8906 GB, free: 8.812 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.165e-05/0.001914, allocations: 59.84 kB / 0.8907 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.002015, allocations: 27.97 kB / 0.8907 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.002085, allocations: 43.84 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.042e-05/0.002126, allocations: 15.91 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.00214, allocations: 4 kB / 0.8908 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.002147, allocations: 8 kB / 0.8908 GB, free: 8.656 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.002164, allocations: 19.86 kB / 0.8908 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.002188, allocations: 23.92 kB / 0.8908 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.894e-05/0.002267, allocations: 31.84 kB / 0.8909 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.002269, allocations: 0 / 0.8909 GB, free: 8.582 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.555e-06/0.002272, allocations: 4 kB / 0.8909 GB, free: 8.578 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.002275, allocations: 0 / 0.8909 GB, free: 8.578 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.0002931/0.002568, allocations: 412.2 kB / 0.8913 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.002605, allocations: 16.61 kB / 0.8913 GB, free: 8.121 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.633e-05/0.002631, allocations: 20.84 kB / 0.8913 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.002735, allocations: 140.4 kB / 0.8914 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.002742, allocations: 384 / 0.8914 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.002751, allocations: 16.38 kB / 0.8914 GB, free: 7.922 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.666e-05/0.002838, allocations: 81.59 kB / 0.8915 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.002844, allocations: 192 / 0.8915 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.00285, allocations: 384 / 0.8915 GB, free: 7.828 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.002856, allocations: 4.375 kB / 0.8915 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.002884, allocations: 23.86 kB / 0.8916 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.003265, allocations: 0.7225 MB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.892e-05/0.003344, allocations: 261.4 kB / 0.8925 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.003373, allocations: 131 kB / 0.8926 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.0034, allocations: 127.1 kB / 0.8928 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.003441, allocations: 156.6 kB / 0.8929 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.003442, allocations: 3.938 kB / 0.8929 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.162e-05/0.003494, allocations: 33.66 kB / 0.8929 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.003536, allocations: 170.6 kB / 0.8931 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.003635, allocations: 207.1 kB / 0.8933 GB, free: 5.898 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.064e-06/0.003642, allocations: 25.7 kB / 0.8933 GB, free: 5.867 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.003704, allocations: 170.5 kB / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.003706, allocations: 0 / 0.8935 GB, free: 5.695 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-05/0.003735, allocations: 31.33 kB / 0.8935 GB, free: 5.656 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.003846, allocations: 0.4923 MB / 0.894 GB, free: 5.152 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.003855, allocations: 8 kB / 0.894 GB, free: 5.145 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.003893, allocations: 81.41 kB / 0.8941 GB, free: 5.031 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.004205, allocations: 85.38 kB / 0.8942 GB, free: 4.914 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.004207, allocations: 4 kB / 0.8942 GB, free: 4.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.871e-05/0.004306, allocations: 77.55 kB / 0.8942 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.004317, allocations: 4 kB / 0.8942 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.004323, allocations: 4 kB / 0.8943 GB, free: 4.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.004335, allocations: 4 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.071e-05/0.004376, allocations: 11.94 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.004379, allocations: 4.25 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.004405, allocations: 19.89 kB / 0.8943 GB, free: 4.781 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.004409, allocations: 4 kB / 0.8943 GB, free: 4.777 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 7.758e-05/0.004487, allocations: 287.6 kB / 0.8946 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.004529, allocations: 152.8 kB / 0.8947 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.004574, allocations: 156.7 kB / 0.8949 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.232e-05/0.004627, allocations: 272 kB / 0.8951 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.387e-05/0.004681, allocations: 272.1 kB / 0.8954 GB, free: 3.617 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.289e-05/0.004734, allocations: 272 kB / 0.8956 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.004894, allocations: 492.5 kB / 0.8961 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/0.004925, allocations: 148.9 kB / 0.8963 GB, free: 2.676 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.079e-05/0.004956, allocations: 152.8 kB / 0.8964 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.496e-05/0.005011, allocations: 268.1 kB / 0.8967 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.466e-05/0.005065, allocations: 268 kB / 0.8969 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.358e-05/0.005119, allocations: 268.1 kB / 0.8972 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.415e-05/0.005173, allocations: 268.1 kB / 0.8974 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.005321, allocations: 456.1 kB / 0.8979 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.005366, allocations: 164.8 kB / 0.898 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.674e-05/0.005423, allocations: 276 kB / 0.8983 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.005472, allocations: 144.9 kB / 0.8984 GB, free: 384 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.005525, allocations: 268 kB / 0.8987 GB, free: 108 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.782e-05/0.005563, allocations: 152.9 kB / 0.8988 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.747e-05/0.005611, allocations: 145.2 kB / 0.899 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005611, allocations: 0 / 0.899 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000159/0.00577, allocations: 12 kB / 0.899 GB, free: 15.8 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 9.873e-05/0.005868, allocations: 210.4 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.098e-05/0.005929, allocations: 35.48 kB / 0.8992 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.005931, allocations: 0 / 0.8992 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.005932, allocations: 0.5 kB / 0.8992 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.006195, allocations: 0.714 MB / 0.8999 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.006411, allocations: 273.7 kB / 0.9002 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.031e-05/0.006441, allocations: 59.34 kB / 0.9002 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.006469, allocations: 8.719 kB / 0.9002 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.006502, allocations: 74.2 kB / 0.9003 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of SimCode: time 8.42e-07/0.006502, allocations: 4 kB / 0.9003 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of Templates: time 0.001683/0.008185, allocations: 332.6 kB / 0.9006 GB, free: 14.04 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_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.286097329109907]