Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001879/0.001879, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.002518/0.002518, allocations: 169 kB / 23.27 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.9447/0.9447, 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.35/2.35, 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.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334e-05/1.46e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001171/0.001186, allocations: 0.8217 MB / 0.8906 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001076/0.001293, allocations: 39.78 kB / 0.8906 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.001337, allocations: 4 kB / 0.8906 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.001367, allocations: 7.875 kB / 0.8906 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.001439, allocations: 15.88 kB / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.472e-05/0.001474, allocations: 19.97 kB / 0.8906 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.742e-05/0.001551, allocations: 67.77 kB / 0.8907 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.001642, allocations: 23.98 kB / 0.8907 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.366e-05/0.001725, allocations: 43.89 kB / 0.8908 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.167e-05/0.001757, allocations: 11.92 kB / 0.8908 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.001773, allocations: 8 kB / 0.8908 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.151e-06/0.001779, allocations: 4 kB / 0.8908 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.897e-05/0.001798, allocations: 15.92 kB / 0.8908 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.00182, allocations: 19.92 kB / 0.8908 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.494e-05/0.001894, allocations: 47.77 kB / 0.8909 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.001897, allocations: 0 / 0.8909 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.61e-07/0.001897, allocations: 3.938 kB / 0.8909 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.765e-06/0.0019, allocations: 0 / 0.8909 GB, free: 8.621 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.0002821/0.002182, allocations: 412.2 kB / 0.8913 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.00222, allocations: 8.625 kB / 0.8913 GB, free: 8.172 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.039e-05/0.002251, allocations: 20.84 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.975e-05/0.00235, allocations: 140.5 kB / 0.8914 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.002359, allocations: 8.375 kB / 0.8914 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.002368, allocations: 8.375 kB / 0.8914 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.454e-05/0.002452, allocations: 85.55 kB / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.002457, allocations: 192 / 0.8915 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.002464, allocations: 4.375 kB / 0.8915 GB, free: 7.871 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.00247, allocations: 4.375 kB / 0.8915 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.582e-05/0.002496, allocations: 23.86 kB / 0.8916 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.002842, allocations: 0.7186 MB / 0.8923 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.874e-05/0.002911, allocations: 265.4 kB / 0.8925 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.00294, allocations: 130.9 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.002962, allocations: 119.2 kB / 0.8928 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.003001, allocations: 152.6 kB / 0.8929 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.003002, allocations: 4 kB / 0.8929 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 4.685e-05/0.003048, allocations: 37.69 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.003091, allocations: 170.6 kB / 0.8931 GB, free: 6.168 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.003191, allocations: 207.6 kB / 0.8933 GB, free: 5.949 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.243e-06/0.003198, allocations: 25.7 kB / 0.8933 GB, free: 5.918 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.003258, allocations: 174.5 kB / 0.8935 GB, free: 5.742 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.00326, allocations: 4 kB / 0.8935 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.003289, allocations: 31.31 kB / 0.8935 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.003471, allocations: 0.4923 MB / 0.894 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-06/0.003477, allocations: 4 kB / 0.894 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.298e-05/0.00351, allocations: 77.48 kB / 0.8941 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.676e-05/0.003567, allocations: 89.36 kB / 0.8942 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.003569, allocations: 0 / 0.8942 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.138e-05/0.00366, allocations: 81.5 kB / 0.8942 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.003672, allocations: 11.98 kB / 0.8943 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.003676, allocations: 3.938 kB / 0.8943 GB, free: 4.859 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.003689, allocations: 4 kB / 0.8943 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.788e-05/0.003727, allocations: 12 kB / 0.8943 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.916e-06/0.00373, allocations: 3.938 kB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.003751, allocations: 11.89 kB / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.003754, allocations: 4 kB / 0.8943 GB, free: 4.824 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.335e-05/0.003828, allocations: 288 kB / 0.8946 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.003868, allocations: 160.8 kB / 0.8947 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.003911, allocations: 152.7 kB / 0.8949 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.808e-05/0.003959, allocations: 268.1 kB / 0.8951 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.982e-05/0.004008, allocations: 272 kB / 0.8954 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.432e-05/0.004063, allocations: 280 kB / 0.8956 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.004221, allocations: 492.4 kB / 0.8961 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/0.004258, allocations: 144.9 kB / 0.8963 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.004294, allocations: 148.9 kB / 0.8964 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.333e-05/0.004358, allocations: 268 kB / 0.8967 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.418e-05/0.004422, allocations: 268.1 kB / 0.8969 GB, free: 2.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-05/0.004481, allocations: 276 kB / 0.8972 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.927e-05/0.004541, allocations: 264.1 kB / 0.8974 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.004648, allocations: 464.1 kB / 0.8979 GB, free: 1.004 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.004686, allocations: 156.8 kB / 0.898 GB, free: 0.8438 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.004743, allocations: 272 kB / 0.8983 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.013e-05/0.004793, allocations: 144.9 kB / 0.8984 GB, free: 432 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.004846, allocations: 272 kB / 0.8987 GB, free: 152 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.004874, allocations: 144.9 kB / 0.8988 GB, free: 0 / 0.8542 GB Notification: Performance of sorting global known variables: time 5.242e-05/0.004926, allocations: 149.2 kB / 0.899 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.004926, allocations: 0 / 0.899 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000138/0.005064, allocations: 12 kB / 0.899 GB, free: 15.84 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.579e-05/0.00516, allocations: 210.4 kB / 0.8992 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.919e-05/0.005219, allocations: 35.55 kB / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005221, allocations: 0 / 0.8992 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.005223, allocations: 7.938 kB / 0.8992 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.005477, allocations: 0.7023 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.0001914/0.005669, allocations: 274.2 kB / 0.9002 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.724e-05/0.005696, allocations: 59.34 kB / 0.9002 GB, free: 14.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.014e-05/0.005726, allocations: 8.719 kB / 0.9002 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.005753, allocations: 78.14 kB / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of SimCode: time 4.11e-07/0.005754, allocations: 0 / 0.9003 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of Templates: time 0.001498/0.007251, allocations: 332.5 kB / 0.9006 GB, free: 14.09 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_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: 5.159103094600141]