Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.0007783/0.0007783, 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.0008989/0.0008989, 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.9495/0.9495, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.792/1.792, allocations: 359 MB / 0.6052 GB, free: 10.99 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.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.647e-06/3.647e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.285e-05/3.65e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002133/0.002169, allocations: 0.6722 MB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.003896, allocations: 1.23 MB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.052e-05/0.003947, allocations: 5.719 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.003984, allocations: 3.938 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.004073, allocations: 7.938 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006716/0.004744, allocations: 212.9 kB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.005032, allocations: 177 kB / 0.7894 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.00516, allocations: 7.984 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.005337, allocations: 91.92 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.005501, allocations: 55.84 kB / 0.7895 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.005544, allocations: 17.28 kB / 0.7895 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.005648, allocations: 23.98 kB / 0.7896 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.1e-05/0.005679, allocations: 8 kB / 0.7896 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.261e-05/0.005771, allocations: 52.95 kB / 0.7896 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.006049, allocations: 135.7 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.006052, allocations: 0 / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.006053, allocations: 1.344 kB / 0.7897 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.006061, allocations: 0 / 0.7897 GB, free: 9.746 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006786/0.006739, allocations: 467.8 kB / 0.7902 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/0.006793, allocations: 8.031 kB / 0.7902 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.371e-05/0.006877, allocations: 18.53 kB / 0.7902 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.007003, allocations: 120.5 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.007023, allocations: 4.375 kB / 0.7903 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/0.007054, allocations: 12.31 kB / 0.7903 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.00717, allocations: 47.83 kB / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.007182, allocations: 192 / 0.7904 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.007194, allocations: 4.375 kB / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.007206, allocations: 384 / 0.7904 GB, free: 9 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.514e-05/0.007241, allocations: 13.5 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005154/0.007757, allocations: 327.6 kB / 0.7907 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.007867, allocations: 39.05 kB / 0.7908 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.007895, allocations: 11.69 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.178e-06/0.007905, allocations: 2.688 kB / 0.7908 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.008038, allocations: 85.05 kB / 0.7909 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.008039, allocations: 3.938 kB / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002867/0.008326, allocations: 97.84 kB / 0.7909 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.008375, allocations: 55.41 kB / 0.791 GB, free: 8.297 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.008499, allocations: 177.9 kB / 0.7912 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.008531, allocations: 34.42 kB / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.008611, allocations: 134.9 kB / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.00863, allocations: 12.44 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-05/0.00872, allocations: 55.34 kB / 0.7914 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.008894, allocations: 0.4898 MB / 0.7919 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.009038, allocations: 111.4 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.009202, allocations: 165.7 kB / 0.7921 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.009375, allocations: 155.7 kB / 0.7923 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.009379, allocations: 4 kB / 0.7923 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004201/0.009799, allocations: 325.3 kB / 0.7926 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.009854, allocations: 74.33 kB / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.00986, allocations: 0 / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.009875, allocations: 0 / 0.7927 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.919e-05/0.009894, allocations: 4 kB / 0.7927 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.009903, allocations: 9.75 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.01011, allocations: 43.95 kB / 0.7927 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.01013, allocations: 9.094 kB / 0.7927 GB, free: 6.359 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001073/0.01024, allocations: 172.5 kB / 0.7929 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.01026, allocations: 16.75 kB / 0.7929 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.664e-05/0.01029, allocations: 12.44 kB / 0.7929 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.01029, allocations: 0 / 0.7929 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.01029, allocations: 7.406 kB / 0.7929 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.0103, allocations: 0 / 0.7929 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.01041, allocations: 128.6 kB / 0.7931 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01041, allocations: 4 kB / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-06/0.01042, allocations: 0 / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.01042, allocations: 0 / 0.7931 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01043, allocations: 3.938 kB / 0.7931 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.01043, allocations: 4 kB / 0.7931 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.01043, allocations: 3.938 kB / 0.7931 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.01057, allocations: 113 kB / 0.7932 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.456e-06/0.01058, allocations: 3.953 kB / 0.7932 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.0106, allocations: 16.42 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.529e-05/0.01061, allocations: 1.844 kB / 0.7932 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.01066, allocations: 4 kB / 0.7932 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.01066, allocations: 3.984 kB / 0.7932 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.708e-05/0.01072, allocations: 131.2 kB / 0.7933 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01072, allocations: 0 / 0.7933 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002476/0.01097, allocations: 33.95 kB / 0.7934 GB, free: 5.656 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001451/0.01111, allocations: 107.2 kB / 0.7935 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003066/0.01142, allocations: 278.4 kB / 0.7937 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01142, allocations: 0 / 0.7937 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.153e-05/0.01145, allocations: 28.2 kB / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.0116, allocations: 14.33 kB / 0.7938 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.01186, allocations: 159.6 kB / 0.7939 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.099e-05/0.01189, allocations: 63.34 kB / 0.794 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.01191, allocations: 5.344 kB / 0.794 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.01193, allocations: 12.5 kB / 0.794 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of SimCode: time 3.8e-07/0.01193, allocations: 0 / 0.794 GB, free: 4.898 MB / 0.7448 GB Notification: Performance of Templates: time 0.003497/0.01543, allocations: 2.252 MB / 0.7962 GB, free: 2.727 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.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.098531825933605]