Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.001579/0.001579, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.002078/0.002078, allocations: 161 kB / 23.82 MB, free: 0.75 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.9763/0.9763, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.767/1.767, allocations: 359 MB / 0.6052 GB, free: 10.97 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.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.49e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001632/0.001667, allocations: 0.7557 MB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.002977, allocations: 1.191 MB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.003037, allocations: 0.5625 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.003069, allocations: 4.844 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.867e-05/0.003147, allocations: 11.88 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005285/0.003676, allocations: 136.5 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.003842, allocations: 120.4 kB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.00394, allocations: 17.5 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.004054, allocations: 67.83 kB / 0.7894 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.004132, allocations: 31.94 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.004156, allocations: 8 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.226e-05/0.004228, allocations: 29.45 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.004253, allocations: 11.94 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.004306, allocations: 35.95 kB / 0.7895 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001571/0.004463, allocations: 91.75 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.004466, allocations: 0 / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.483e-06/0.004468, allocations: 1.594 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.004472, allocations: 0 / 0.7896 GB, free: 9.949 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004793/0.004952, allocations: 430.2 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.004994, allocations: 11.47 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.793e-05/0.005052, allocations: 16.88 kB / 0.79 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.198e-05/0.005144, allocations: 120.5 kB / 0.7901 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.00516, allocations: 8.359 kB / 0.7901 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.005177, allocations: 4.375 kB / 0.7901 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.005321, allocations: 66.94 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.005328, allocations: 192 / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.00534, allocations: 8.297 kB / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.005347, allocations: 384 / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.005386, allocations: 20.7 kB / 0.7902 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003967/0.005783, allocations: 307.6 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.005893, allocations: 48.42 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.005925, allocations: 23.8 kB / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.005933, allocations: 1.312 kB / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.006035, allocations: 80.91 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.006037, allocations: 0 / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002169/0.006254, allocations: 94.31 kB / 0.7908 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.00629, allocations: 64.52 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.006373, allocations: 169.9 kB / 0.791 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.006393, allocations: 33.7 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.716e-05/0.00645, allocations: 147.5 kB / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.006468, allocations: 15.84 kB / 0.7912 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.006523, allocations: 44.08 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.006631, allocations: 0.4923 MB / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.006709, allocations: 62.95 kB / 0.7917 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.006791, allocations: 112.1 kB / 0.7919 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.006895, allocations: 118 kB / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.006897, allocations: 0 / 0.792 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002215/0.007118, allocations: 211.6 kB / 0.7922 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.007153, allocations: 41.64 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.00716, allocations: 4 kB / 0.7922 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.007174, allocations: 0 / 0.7922 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.007248, allocations: 11.98 kB / 0.7922 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.007253, allocations: 0 / 0.7922 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.863e-05/0.007341, allocations: 25.5 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.007357, allocations: 15.94 kB / 0.7923 GB, free: 6.906 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 8.506e-05/0.007442, allocations: 169 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.435e-05/0.007456, allocations: 11.89 kB / 0.7924 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.007481, allocations: 12.98 kB / 0.7925 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.007485, allocations: 5.375 kB / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007488, allocations: 0 / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007492, allocations: 0 / 0.7925 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.007745, allocations: 345.2 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.007747, allocations: 0.625 kB / 0.7928 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.993e-05/0.007777, allocations: 9.969 kB / 0.7928 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.00778, allocations: 0 / 0.7928 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.007788, allocations: 0 / 0.7928 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.007791, allocations: 4 kB / 0.7928 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007792, allocations: 0 / 0.7928 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.007926, allocations: 235.8 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.007932, allocations: 0.5312 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.007949, allocations: 4.5 kB / 0.793 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.007992, allocations: 5.047 kB / 0.793 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.008034, allocations: 7.984 kB / 0.793 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.008042, allocations: 8 kB / 0.793 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.454e-05/0.008087, allocations: 132.1 kB / 0.7932 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008087, allocations: 0 / 0.7932 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001746/0.008261, allocations: 24 kB / 0.7932 GB, free: 5.891 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001312/0.008393, allocations: 99.19 kB / 0.7933 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.008596, allocations: 164.7 kB / 0.7934 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.008598, allocations: 0 / 0.7934 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.008639, allocations: 40.06 kB / 0.7935 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.008842, allocations: 22.64 kB / 0.7935 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.009151, allocations: 163.9 kB / 0.7937 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.00919, allocations: 64.47 kB / 0.7937 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.009214, allocations: 7.938 kB / 0.7937 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.009242, allocations: 17.53 kB / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.009243, allocations: 0 / 0.7938 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of Templates: time 0.003565/0.01281, allocations: 1.715 MB / 0.7954 GB, free: 3.582 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.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.1052277740091085]