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.001474/0.001474, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00173/0.00173, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.822/1.822, allocations: 359 MB / 0.6055 GB, free: 11.01 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 1.924e-06/1.924e-06, allocations: 0 / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.351e-05, allocations: 6.797 kB / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001387/0.00141, allocations: 0.7529 MB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.00268, allocations: 1.197 MB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.00273, allocations: 0 / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.002758, allocations: 3.938 kB / 0.789 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.22e-05/0.00283, allocations: 12.98 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.003244, allocations: 128.6 kB / 0.7892 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.003397, allocations: 119.7 kB / 0.7893 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.003498, allocations: 17.55 kB / 0.7893 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.003613, allocations: 63.94 kB / 0.7894 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.101e-05/0.003695, allocations: 39.88 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.003717, allocations: 8 kB / 0.7894 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.003775, allocations: 25.98 kB / 0.7894 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.003799, allocations: 15.92 kB / 0.7894 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/0.003852, allocations: 31.92 kB / 0.7895 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.004013, allocations: 99.73 kB / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004015, allocations: 0 / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.02e-07/0.004016, allocations: 0 / 0.7896 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.004021, allocations: 2.156 kB / 0.7896 GB, free: 10.29 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.0006035/0.004624, allocations: 434.1 kB / 0.79 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.004668, allocations: 8.031 kB / 0.79 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.004725, allocations: 16.88 kB / 0.79 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.972e-05/0.004814, allocations: 116.5 kB / 0.7901 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.004836, allocations: 5.938 kB / 0.7901 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.004855, allocations: 8.375 kB / 0.7901 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.005003, allocations: 70.92 kB / 0.7902 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.00501, allocations: 192 / 0.7902 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.005022, allocations: 2.125 kB / 0.7902 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.00503, allocations: 384 / 0.7902 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.005071, allocations: 11.94 kB / 0.7902 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.00547, allocations: 319.6 kB / 0.7905 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.005575, allocations: 48.05 kB / 0.7906 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.038e-05/0.005605, allocations: 16.22 kB / 0.7906 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.005613, allocations: 4 kB / 0.7906 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001017/0.005715, allocations: 86.31 kB / 0.7907 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.005717, allocations: 0 / 0.7907 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.000208/0.005925, allocations: 97.61 kB / 0.7908 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.00596, allocations: 57.88 kB / 0.7908 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.006049, allocations: 173.9 kB / 0.791 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.00607, allocations: 33.69 kB / 0.791 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.006131, allocations: 146.9 kB / 0.7911 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.006149, allocations: 11.84 kB / 0.7912 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.006204, allocations: 47.34 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.006328, allocations: 0.4891 MB / 0.7917 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.535e-05/0.006413, allocations: 61.67 kB / 0.7917 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.713e-05/0.0065, allocations: 112.6 kB / 0.7918 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.006609, allocations: 121.7 kB / 0.792 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006611, allocations: 0 / 0.792 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002392/0.00685, allocations: 206.7 kB / 0.7922 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.814e-05/0.006888, allocations: 41.62 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.006894, allocations: 0 / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.006908, allocations: 5.156 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.006988, allocations: 8 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.006994, allocations: 0 / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.844e-05/0.007082, allocations: 29.34 kB / 0.7922 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.007097, allocations: 8 kB / 0.7922 GB, free: 7.258 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.419e-05/0.007181, allocations: 165.4 kB / 0.7924 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.007197, allocations: 20.72 kB / 0.7924 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.007219, allocations: 8.438 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.007222, allocations: 1.281 kB / 0.7924 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.007227, allocations: 7.938 kB / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.00723, allocations: 0 / 0.7924 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.007495, allocations: 350.1 kB / 0.7928 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.007496, allocations: 0 / 0.7928 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.384e-05/0.00752, allocations: 4 kB / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007522, allocations: 0.875 kB / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.007529, allocations: 0 / 0.7928 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.007531, allocations: 5.547 kB / 0.7928 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.007533, allocations: 4 kB / 0.7928 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.00766, allocations: 231.8 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.803e-06/0.007667, allocations: 3.984 kB / 0.793 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.007685, allocations: 5.188 kB / 0.793 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.569e-05/0.007721, allocations: 4 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.007761, allocations: 7.984 kB / 0.793 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.007768, allocations: 15.14 kB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.65e-05/0.007815, allocations: 131.2 kB / 0.7932 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007815, allocations: 4 kB / 0.7932 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001717/0.007986, allocations: 20 kB / 0.7932 GB, free: 6.23 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.0001113/0.008098, allocations: 103.2 kB / 0.7933 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004869/0.008585, allocations: 170.7 kB / 0.7935 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.008586, allocations: 0 / 0.7935 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.147e-05/0.008628, allocations: 30.08 kB / 0.7935 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.00883, allocations: 18.47 kB / 0.7935 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.009155, allocations: 175.8 kB / 0.7937 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.009203, allocations: 61.8 kB / 0.7937 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.045e-05/0.009244, allocations: 8.641 kB / 0.7937 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.009272, allocations: 15.31 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of SimCode: time 6.51e-07/0.009273, allocations: 0 / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of Templates: time 0.003494/0.01277, allocations: 1.578 MB / 0.7953 GB, free: 4.055 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.202926576137543]