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.001045/0.001045, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.002021/0.002021, allocations: 161 kB / 23.82 MB, free: 0.7539 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 / 204.2 MB, free: 5.441 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.865/1.865, allocations: 359 MB / 0.6052 GB, free: 11.03 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.923e-06/1.923e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.845e-05, allocations: 2.969 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001272/0.00129, allocations: 0.7551 MB / 0.7879 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.00271, allocations: 1.194 MB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.612e-05/0.002756, allocations: 4.625 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.732e-05/0.002783, allocations: 3.938 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.398e-05/0.002847, allocations: 13.27 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.003219, allocations: 132.9 kB / 0.7892 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.003348, allocations: 123.7 kB / 0.7893 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.003432, allocations: 11.97 kB / 0.7893 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.643e-05/0.003528, allocations: 65.08 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.003599, allocations: 35.94 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.003621, allocations: 8 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.438e-05/0.003675, allocations: 29.77 kB / 0.7894 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.859e-05/0.003704, allocations: 11.92 kB / 0.7894 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.003753, allocations: 31.97 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.003893, allocations: 91.75 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.003895, allocations: 0 / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.81e-07/0.003896, allocations: 0.8125 kB / 0.7896 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.003899, allocations: 0 / 0.7896 GB, free: 9.973 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.0003886/0.004288, allocations: 443.1 kB / 0.79 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.00432, allocations: 8.031 kB / 0.79 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.004368, allocations: 12.89 kB / 0.79 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.059e-05/0.004439, allocations: 118 kB / 0.7901 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.004451, allocations: 8.375 kB / 0.7901 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.004469, allocations: 8.375 kB / 0.7901 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.004582, allocations: 72.45 kB / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.004589, allocations: 192 / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.004599, allocations: 384 / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.004605, allocations: 384 / 0.7902 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.004638, allocations: 17.5 kB / 0.7902 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.005021, allocations: 315.7 kB / 0.7905 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.005122, allocations: 43.11 kB / 0.7906 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.005154, allocations: 18.31 kB / 0.7906 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.005163, allocations: 4.062 kB / 0.7906 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/0.005269, allocations: 84.95 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.00527, allocations: 0 / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002169/0.005487, allocations: 97.67 kB / 0.7908 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/0.005523, allocations: 63.34 kB / 0.7908 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.695e-05/0.00561, allocations: 170.6 kB / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.005637, allocations: 33.7 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.005705, allocations: 144.5 kB / 0.7911 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.005726, allocations: 15.91 kB / 0.7912 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.005786, allocations: 43.34 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.005928, allocations: 0.4884 MB / 0.7917 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.006012, allocations: 63.42 kB / 0.7917 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.805e-05/0.0061, allocations: 108.5 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.006204, allocations: 116.6 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.006206, allocations: 1.031 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002196/0.006426, allocations: 214.7 kB / 0.7922 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.006455, allocations: 41.62 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.006461, allocations: 4 kB / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.006472, allocations: 0 / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.00654, allocations: 10.03 kB / 0.7922 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.006552, allocations: 11.88 kB / 0.7922 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.174e-05/0.006644, allocations: 27.91 kB / 0.7923 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.006659, allocations: 4 kB / 0.7923 GB, free: 6.93 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.333e-05/0.006742, allocations: 166.9 kB / 0.7924 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.006758, allocations: 20.41 kB / 0.7924 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.006786, allocations: 9.156 kB / 0.7924 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.006789, allocations: 4.062 kB / 0.7924 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.006794, allocations: 4.531 kB / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.006798, allocations: 0 / 0.7925 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.007059, allocations: 342.8 kB / 0.7928 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.007061, allocations: 0 / 0.7928 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.007088, allocations: 4 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.00709, allocations: 0.5312 kB / 0.7928 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.007101, allocations: 8 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.007103, allocations: 1.375 kB / 0.7928 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.007106, allocations: 3.984 kB / 0.7928 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.007272, allocations: 223.8 kB / 0.793 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.007281, allocations: 9.109 kB / 0.793 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.0073, allocations: 7.984 kB / 0.793 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.578e-05/0.007336, allocations: 4 kB / 0.793 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.007379, allocations: 5.359 kB / 0.793 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.007387, allocations: 8 kB / 0.793 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.841e-05/0.007436, allocations: 135.2 kB / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007436, allocations: 0 / 0.7932 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001851/0.007621, allocations: 28.84 kB / 0.7932 GB, free: 5.906 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.0001222/0.007743, allocations: 96.09 kB / 0.7933 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.007943, allocations: 170 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.007945, allocations: 0 / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.07e-05/0.007985, allocations: 40.06 kB / 0.7935 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.008186, allocations: 17.06 kB / 0.7935 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.008465, allocations: 172.7 kB / 0.7937 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.063e-05/0.008506, allocations: 59.3 kB / 0.7937 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.445e-05/0.00853, allocations: 8.859 kB / 0.7937 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.008556, allocations: 16.5 kB / 0.7938 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of SimCode: time 5.92e-07/0.008557, allocations: 0 / 0.7938 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of Templates: time 0.003099/0.01166, allocations: 1.573 MB / 0.7953 GB, free: 3.742 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.26587187172845]