Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.0009534/0.0009534, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001439/0.001439, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9273/0.9273, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 1.723/1.723, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] 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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.84e-05/3.002e-05, allocations: 8.156 kB / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002006/0.002036, allocations: 0.8158 MB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001459/0.002182, allocations: 49.19 kB / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/0.002239, allocations: 0 / 0.7879 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.002283, allocations: 7.875 kB / 0.788 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.961e-05/0.002373, allocations: 12.75 kB / 0.788 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.234e-05/0.002425, allocations: 15.98 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.002545, allocations: 67.83 kB / 0.788 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.002684, allocations: 33.09 kB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.002794, allocations: 39.84 kB / 0.7881 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.002841, allocations: 20.62 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.002866, allocations: 8 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.002875, allocations: 5.469 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.002898, allocations: 11.92 kB / 0.7882 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.002926, allocations: 12 kB / 0.7882 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.003033, allocations: 51.7 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.003035, allocations: 3.188 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003036, allocations: 0 / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.00304, allocations: 0 / 0.7882 GB, free: 11.38 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.0004247/0.003465, allocations: 408.2 kB / 0.7886 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.003505, allocations: 8.031 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.003554, allocations: 12.89 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.003721, allocations: 144.5 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.003734, allocations: 4.375 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.003749, allocations: 13.34 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.003906, allocations: 87.48 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.003917, allocations: 4.172 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.003929, allocations: 0.9688 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.003938, allocations: 384 / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.355e-05/0.004001, allocations: 33.14 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.00459, allocations: 0.7414 MB / 0.7896 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.004692, allocations: 271 kB / 0.7899 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.004734, allocations: 130.9 kB / 0.79 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.004765, allocations: 119.2 kB / 0.7901 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/0.004819, allocations: 156.6 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.253e-06/0.00482, allocations: 1.531 kB / 0.7903 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.762e-05/0.004887, allocations: 37.69 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.004953, allocations: 174.5 kB / 0.7905 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.005098, allocations: 195.8 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.005107, allocations: 31.23 kB / 0.7907 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.036e-05/0.005197, allocations: 186.4 kB / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.136e-06/0.005201, allocations: 0 / 0.7909 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.005236, allocations: 23.38 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003835/0.00562, allocations: 0.4923 MB / 0.7914 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.649e-05/0.005636, allocations: 6.125 kB / 0.7914 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.048e-05/0.005687, allocations: 73.5 kB / 0.7915 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.81e-05/0.005775, allocations: 91.11 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.005778, allocations: 1.562 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001547/0.005932, allocations: 90.08 kB / 0.7916 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.005949, allocations: 8.906 kB / 0.7916 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.005956, allocations: 4 kB / 0.7916 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.005971, allocations: 4.688 kB / 0.7916 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.006042, allocations: 19.92 kB / 0.7917 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.006049, allocations: 4.531 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.006085, allocations: 4 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.006092, allocations: 5.375 kB / 0.7917 GB, free: 7.555 MB / 0.7448 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 0.0001015/0.006193, allocations: 283.7 kB / 0.7919 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.006257, allocations: 156.8 kB / 0.7921 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.006313, allocations: 157.8 kB / 0.7922 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-05/0.006378, allocations: 264.1 kB / 0.7925 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.16e-05/0.006449, allocations: 276 kB / 0.7928 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.101e-05/0.00652, allocations: 272.9 kB / 0.793 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.006745, allocations: 0.5076 MB / 0.7935 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-05/0.006785, allocations: 145.4 kB / 0.7937 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.946e-05/0.006824, allocations: 149.7 kB / 0.7938 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.406e-05/0.006898, allocations: 272 kB / 0.7941 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-05/0.006966, allocations: 264.1 kB / 0.7943 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.881e-05/0.007035, allocations: 274.1 kB / 0.7946 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-05/0.007104, allocations: 268.1 kB / 0.7948 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.00725, allocations: 451.8 kB / 0.7953 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.007306, allocations: 152.8 kB / 0.7954 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.411e-05/0.007391, allocations: 276 kB / 0.7957 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.007471, allocations: 149.4 kB / 0.7958 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.007551, allocations: 268.3 kB / 0.7961 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.007591, allocations: 155.4 kB / 0.7962 GB, free: 2.715 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.127e-05/0.007662, allocations: 145 kB / 0.7964 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007663, allocations: 0 / 0.7964 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002769/0.007939, allocations: 15.95 kB / 0.7964 GB, free: 2.559 MB / 0.7448 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.0001111/0.008051, allocations: 218.4 kB / 0.7966 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.973e-05/0.00815, allocations: 29.41 kB / 0.7966 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.008152, allocations: 0 / 0.7966 GB, free: 2.305 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.008155, allocations: 8.469 kB / 0.7966 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003994/0.008554, allocations: 0.7028 MB / 0.7973 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002995/0.008854, allocations: 282.2 kB / 0.7976 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.008895, allocations: 63.28 kB / 0.7976 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.008932, allocations: 7.109 kB / 0.7976 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.008958, allocations: 13.41 kB / 0.7977 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.008958, allocations: 0 / 0.7977 GB, free: 1.184 MB / 0.7448 GB Notification: Performance of Templates: time 0.002411/0.01137, allocations: 328.4 kB / 0.798 GB, free: 0.8789 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.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: 4.90240252809599]