Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001476/0.001476, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001104/0.001104, allocations: 166.2 kB / 24.87 MB, free: 8.891 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.81/1.81, allocations: 359 MB / 0.6063 GB, free: 10.89 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.CDL.Utilities.Validation.Assert,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|assert.u",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.143e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.001169/0.001191, allocations: 0.6096 MB / 0.7889 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001123/0.002313, allocations: 1.161 MB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.00235, allocations: 0 / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.002373, allocations: 0 / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.428e-05/0.002437, allocations: 9.094 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.002788, allocations: 127.6 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.002907, allocations: 84.45 kB / 0.7902 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.199e-05/0.002979, allocations: 13.39 kB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.398e-05/0.003053, allocations: 43.95 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.496e-05/0.003128, allocations: 19.97 kB / 0.7903 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.003148, allocations: 8 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.758e-05/0.003206, allocations: 28.77 kB / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.003223, allocations: 0 / 0.7903 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.32e-05/0.003256, allocations: 28.53 kB / 0.7904 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.003371, allocations: 72.52 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003373, allocations: 0 / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.91e-07/0.003374, allocations: 0.9062 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003378, allocations: 7.938 kB / 0.7904 GB, free: 10.07 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000318/0.003696, allocations: 402.2 kB / 0.7908 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.003734, allocations: 12.69 kB / 0.7908 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.003766, allocations: 5.656 kB / 0.7908 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.328e-05/0.003839, allocations: 112.6 kB / 0.7909 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.00385, allocations: 2.031 kB / 0.7909 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.003861, allocations: 4.375 kB / 0.791 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.503e-05/0.003926, allocations: 59.97 kB / 0.791 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.003932, allocations: 4.188 kB / 0.791 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.003939, allocations: 5.703 kB / 0.791 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.003943, allocations: 384 / 0.791 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.03e-05/0.003953, allocations: 7.922 kB / 0.791 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002183/0.004171, allocations: 269.9 kB / 0.7913 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.418e-05/0.004206, allocations: 23.06 kB / 0.7913 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.031e-05/0.004216, allocations: 11.75 kB / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-06/0.004219, allocations: 0 / 0.7913 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.857e-05/0.004297, allocations: 83.59 kB / 0.7914 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.004298, allocations: 4 kB / 0.7914 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001243/0.004422, allocations: 64.97 kB / 0.7915 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.004454, allocations: 55.39 kB / 0.7915 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.88e-05/0.004522, allocations: 161.9 kB / 0.7917 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.004538, allocations: 29.7 kB / 0.7917 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.00459, allocations: 142.8 kB / 0.7918 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.004596, allocations: 0 / 0.7918 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.004638, allocations: 35.36 kB / 0.7919 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.004756, allocations: 0.4884 MB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.0048, allocations: 49.67 kB / 0.7924 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.103e-05/0.004851, allocations: 81.22 kB / 0.7925 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.004911, allocations: 82.23 kB / 0.7925 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.004913, allocations: 0 / 0.7925 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001485/0.005061, allocations: 165.7 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.005089, allocations: 37.69 kB / 0.7927 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.005093, allocations: 0.5312 kB / 0.7927 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.005103, allocations: 9.625 kB / 0.7928 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.374e-05/0.005117, allocations: 3.938 kB / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.005119, allocations: 0 / 0.7928 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.005223, allocations: 29.06 kB / 0.7928 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.005237, allocations: 12 kB / 0.7928 GB, free: 7.387 MB / 0.7448 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.823e-05/0.005306, allocations: 157.5 kB / 0.7929 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-06/0.005313, allocations: 0 / 0.7929 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.005331, allocations: 8 kB / 0.793 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.005335, allocations: 8.422 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.005336, allocations: 1.469 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.00534, allocations: 0 / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.321e-05/0.005403, allocations: 97.27 kB / 0.7931 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.005403, allocations: 0 / 0.7931 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-06/0.005407, allocations: 6.312 kB / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-07/0.005408, allocations: 0 / 0.7931 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-06/0.005412, allocations: 3.984 kB / 0.7931 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.005413, allocations: 0 / 0.7931 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.005414, allocations: 0 / 0.7931 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.31e-05/0.005487, allocations: 96.5 kB / 0.7932 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-06/0.005491, allocations: 3.484 kB / 0.7932 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.005501, allocations: 3.984 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.156e-06/0.005509, allocations: 4 kB / 0.7932 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.969e-05/0.005529, allocations: 7.922 kB / 0.7932 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.005531, allocations: 0 / 0.7932 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.422e-05/0.005566, allocations: 127.2 kB / 0.7933 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005566, allocations: 0 / 0.7933 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001443/0.00571, allocations: 23.94 kB / 0.7933 GB, free: 6.797 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: 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 8.315e-05/0.005793, allocations: 100 kB / 0.7934 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.005917, allocations: 141.2 kB / 0.7935 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005918, allocations: 0 / 0.7935 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.439e-05/0.005933, allocations: 12.25 kB / 0.7936 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.006066, allocations: 13.92 kB / 0.7936 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001751/0.006241, allocations: 122.2 kB / 0.7937 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.694e-05/0.006268, allocations: 55.36 kB / 0.7937 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.311e-05/0.006281, allocations: 0.5625 kB / 0.7937 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.006354, allocations: 95.7 kB / 0.7938 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.006355, allocations: 0 / 0.7938 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.002525/0.00888, allocations: 1.329 MB / 0.7951 GB, free: 4.914 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.9855591231025755]