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.001002/0.001002, 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.0009599/0.0009599, 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 1.047/1.047, allocations: 177.2 MB / 204.2 MB, free: 5.629 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.902/1.902, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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 1.553e-06/1.553e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.321e-05, allocations: 3.094 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001268/0.001291, allocations: 0.6724 MB / 0.7878 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.002554, allocations: 1.243 MB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.034e-05/0.002595, allocations: 0 / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.002623, allocations: 3.938 kB / 0.789 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.97e-05/0.002693, allocations: 11.91 kB / 0.789 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.003152, allocations: 209.2 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.003339, allocations: 174 kB / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.024e-05/0.003429, allocations: 11.98 kB / 0.7894 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003756/0.003804, allocations: 95.86 kB / 0.7895 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.717e-05/0.003902, allocations: 43.92 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.003929, allocations: 16 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.282e-05/0.003992, allocations: 37.84 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.004012, allocations: 7.938 kB / 0.7896 GB, free: 10 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.161e-05/0.004074, allocations: 55.94 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.004242, allocations: 127.7 kB / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004244, allocations: 0 / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.42e-07/0.004245, allocations: 0 / 0.7897 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.004249, allocations: 5.5 kB / 0.7897 GB, free: 9.82 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.0003953/0.004644, allocations: 463.9 kB / 0.7902 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.004679, allocations: 8.031 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.004731, allocations: 12.89 kB / 0.7902 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.729e-05/0.004808, allocations: 118.3 kB / 0.7903 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.00482, allocations: 4.375 kB / 0.7903 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.004843, allocations: 16.38 kB / 0.7903 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.217e-05/0.004926, allocations: 42.23 kB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004933, allocations: 1.281 kB / 0.7904 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.004944, allocations: 4.375 kB / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.004951, allocations: 384 / 0.7904 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.59e-05/0.004977, allocations: 18.45 kB / 0.7904 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003594/0.005336, allocations: 327.7 kB / 0.7907 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.755e-05/0.005404, allocations: 31.06 kB / 0.7907 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.021e-05/0.005424, allocations: 15.77 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.00543, allocations: 0 / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.176e-05/0.005521, allocations: 88.91 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 7.81e-07/0.005522, allocations: 0.7188 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001822/0.005704, allocations: 101.6 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.005733, allocations: 51.94 kB / 0.791 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.005814, allocations: 187.5 kB / 0.7912 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.005833, allocations: 33.64 kB / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.988e-05/0.005883, allocations: 138.8 kB / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.406e-05/0.005897, allocations: 19.84 kB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.005958, allocations: 55.34 kB / 0.7914 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.006057, allocations: 496.8 kB / 0.7919 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.006173, allocations: 112.3 kB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.006284, allocations: 167.8 kB / 0.7921 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001154/0.0064, allocations: 158.9 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006402, allocations: 1.375 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002833/0.006686, allocations: 325 kB / 0.7926 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.006721, allocations: 67.39 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006726, allocations: 0 / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.006741, allocations: 4.844 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.509e-05/0.006756, allocations: 3.938 kB / 0.7927 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.006763, allocations: 5.281 kB / 0.7927 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/0.006921, allocations: 36.8 kB / 0.7927 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.006942, allocations: 11.98 kB / 0.7927 GB, free: 6.438 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 6.819e-05/0.00701, allocations: 165.7 kB / 0.7929 GB, free: 6.266 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.007022, allocations: 15.89 kB / 0.7929 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.007045, allocations: 13.8 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.007046, allocations: 0 / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.007053, allocations: 0 / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.007057, allocations: 3.984 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.349e-05/0.007131, allocations: 134 kB / 0.7931 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.007132, allocations: 0 / 0.7931 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-06/0.007137, allocations: 3.938 kB / 0.7931 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.007138, allocations: 0 / 0.7931 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.007146, allocations: 10.88 kB / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.52e-07/0.007147, allocations: 0 / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007147, allocations: 0 / 0.7931 GB, free: 6.062 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.585e-05/0.007243, allocations: 116.4 kB / 0.7932 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.007251, allocations: 11.94 kB / 0.7932 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-06/0.007261, allocations: 3.938 kB / 0.7932 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.999e-06/0.007271, allocations: 0 / 0.7932 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.996e-05/0.007301, allocations: 7.984 kB / 0.7932 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.007306, allocations: 4.5 kB / 0.7932 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.007343, allocations: 133.1 kB / 0.7933 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007343, allocations: 7.875 kB / 0.7933 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001518/0.007495, allocations: 35.94 kB / 0.7934 GB, free: 5.727 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 9.603e-05/0.007591, allocations: 95.25 kB / 0.7935 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002285/0.00782, allocations: 278.9 kB / 0.7937 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.007821, allocations: 0.6562 kB / 0.7937 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.007852, allocations: 31.66 kB / 0.7938 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.008015, allocations: 20.36 kB / 0.7938 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.008262, allocations: 158.7 kB / 0.7939 GB, free: 5.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.008297, allocations: 63.28 kB / 0.794 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.884e-05/0.008316, allocations: 4 kB / 0.794 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.008336, allocations: 12.5 kB / 0.794 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.008336, allocations: 2.094 kB / 0.794 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of Templates: time 0.003271/0.01161, allocations: 2.052 MB / 0.796 GB, free: 2.984 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.392154105938971]