Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.0009301/0.0009301, 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.0009638/0.0009638, allocations: 165 kB / 23.27 MB, free: 1.23 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.985/0.985, 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.401/2.401, allocations: 438.1 MB / 0.682 GB, free: 14.18 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.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 4 kB / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.621e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.797 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001289/0.001315, allocations: 0.6131 MB / 0.8903 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.002444, allocations: 1.154 MB / 0.8914 GB, free: 8.02 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.002484, allocations: 4 kB / 0.8915 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.331e-05/0.002508, allocations: 0 / 0.8915 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.002569, allocations: 3.938 kB / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003554/0.002924, allocations: 119.6 kB / 0.8916 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.00304, allocations: 91.88 kB / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.877e-05/0.003109, allocations: 0 / 0.8917 GB, free: 7.805 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.003191, allocations: 55.84 kB / 0.8917 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.003266, allocations: 27.94 kB / 0.8917 GB, free: 7.723 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.003285, allocations: 12 kB / 0.8917 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 5.424e-05/0.00334, allocations: 12 kB / 0.8918 GB, free: 7.699 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.003357, allocations: 8 kB / 0.8918 GB, free: 7.691 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.003388, allocations: 27.91 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.003507, allocations: 71.84 kB / 0.8919 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.00351, allocations: 0 / 0.8919 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.163e-06/0.003511, allocations: 0 / 0.8919 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.003515, allocations: 0 / 0.8919 GB, free: 7.594 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000334/0.003849, allocations: 406.3 kB / 0.8922 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.003889, allocations: 16.61 kB / 0.8923 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.003922, allocations: 8.891 kB / 0.8923 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.954e-05/0.003991, allocations: 108.6 kB / 0.8924 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.004005, allocations: 12.31 kB / 0.8924 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.004017, allocations: 4.375 kB / 0.8924 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.774e-05/0.004085, allocations: 59.95 kB / 0.8925 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.00409, allocations: 192 / 0.8925 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.004098, allocations: 4.375 kB / 0.8925 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.004103, allocations: 384 / 0.8925 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.043e-05/0.004113, allocations: 7.922 kB / 0.8925 GB, free: 6.898 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.004349, allocations: 260.4 kB / 0.8927 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.739e-05/0.004386, allocations: 31 kB / 0.8927 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.718e-06/0.004396, allocations: 15.67 kB / 0.8928 GB, free: 6.555 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-06/0.004402, allocations: 4.062 kB / 0.8928 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.534e-05/0.004487, allocations: 82.77 kB / 0.8928 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.004488, allocations: 0 / 0.8928 GB, free: 6.449 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001383/0.004626, allocations: 77.44 kB / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.004655, allocations: 51.41 kB / 0.893 GB, free: 6.305 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.004724, allocations: 165.9 kB / 0.8931 GB, free: 6.125 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.004738, allocations: 25.7 kB / 0.8931 GB, free: 6.094 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.004789, allocations: 130.9 kB / 0.8933 GB, free: 5.961 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.936e-06/0.004798, allocations: 7.938 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.004839, allocations: 39.36 kB / 0.8933 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.004945, allocations: 0.4923 MB / 0.8938 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.004993, allocations: 49.69 kB / 0.8938 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-05/0.005043, allocations: 76.73 kB / 0.8939 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.243e-05/0.005106, allocations: 80.7 kB / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.005108, allocations: 0 / 0.894 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001496/0.005257, allocations: 161 kB / 0.8941 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.005286, allocations: 37.7 kB / 0.8942 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00529, allocations: 4.094 kB / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.0053, allocations: 3.938 kB / 0.8942 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.528e-05/0.005315, allocations: 7.984 kB / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.005318, allocations: 0 / 0.8942 GB, free: 4.922 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.005424, allocations: 19.94 kB / 0.8942 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.005436, allocations: 4 kB / 0.8942 GB, free: 4.898 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.909e-05/0.005505, allocations: 168.5 kB / 0.8944 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-06/0.005513, allocations: 0 / 0.8944 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.014e-05/0.005543, allocations: 12 kB / 0.8944 GB, free: 4.703 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.005546, allocations: 7.938 kB / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.005547, allocations: 0 / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.00555, allocations: 0 / 0.8944 GB, free: 4.695 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.527e-05/0.005615, allocations: 101.2 kB / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005617, allocations: 0 / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-06/0.00562, allocations: 0 / 0.8945 GB, free: 4.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.005623, allocations: 4 kB / 0.8945 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.005626, allocations: 0 / 0.8945 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005627, allocations: 320 / 0.8945 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.005628, allocations: 0 / 0.8945 GB, free: 4.566 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.26e-05/0.00571, allocations: 96.56 kB / 0.8946 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.005717, allocations: 8.031 kB / 0.8946 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-06/0.005724, allocations: 3.984 kB / 0.8946 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.358e-06/0.005734, allocations: 7.875 kB / 0.8946 GB, free: 4.43 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.005753, allocations: 7.938 kB / 0.8946 GB, free: 4.422 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.005757, allocations: 4 kB / 0.8946 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.005792, allocations: 127.2 kB / 0.8947 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.005792, allocations: 0 / 0.8947 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001431/0.005935, allocations: 19.94 kB / 0.8948 GB, free: 4.273 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001032/0.006038, allocations: 99.23 kB / 0.8949 GB, free: 4.168 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.006162, allocations: 136.8 kB / 0.895 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.006164, allocations: 0 / 0.895 GB, free: 4.012 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.979e-05/0.006184, allocations: 23.62 kB / 0.895 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.006332, allocations: 11.92 kB / 0.895 GB, free: 3.973 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.006531, allocations: 126.2 kB / 0.8951 GB, free: 3.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.893e-05/0.00656, allocations: 59.34 kB / 0.8952 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.515e-05/0.006575, allocations: 0 / 0.8952 GB, free: 3.742 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.006652, allocations: 86.19 kB / 0.8953 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/0.006652, allocations: 4.188 kB / 0.8953 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of Templates: time 0.002744/0.009396, allocations: 1.302 MB / 0.8966 GB, free: 2.375 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.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.313651876989752]