Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.007541/0.007541, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001463/0.001463, allocations: 173 kB / 23.02 MB, free: 1.551 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.9908/0.9908, allocations: 177.2 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.095/2.095, allocations: 429.5 MB / 0.6733 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulAnd0.y|mulAnd1.u.[0-9,]+.|mulAnd1.y|mulAnd2.u.[0-9,]+.|mulAnd2.y|mulAnd5.u.[0-9,]+.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.974e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002191/0.002221, allocations: 0.8389 MB / 0.879 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00268/0.004901, allocations: 1.533 MB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.005, allocations: 4 kB / 0.8805 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.005156, allocations: 17.33 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.195e-05/0.005248, allocations: 36.88 kB / 0.8806 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.006915, allocations: 0.5036 MB / 0.8811 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006589/0.007574, allocations: 499 kB / 0.8815 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.007743, allocations: 25.66 kB / 0.8816 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003342/0.008077, allocations: 259.7 kB / 0.8818 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.008341, allocations: 143.7 kB / 0.8819 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.237e-05/0.008424, allocations: 40 kB / 0.882 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.008555, allocations: 48.53 kB / 0.882 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.89e-05/0.008624, allocations: 43.89 kB / 0.8821 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.008818, allocations: 141 kB / 0.8822 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.009337, allocations: 355.1 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.009341, allocations: 0 / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.009342, allocations: 1.531 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.00935, allocations: 0 / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008905/0.01024, allocations: 0.6759 MB / 0.8832 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.01029, allocations: 8.031 kB / 0.8832 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.01042, allocations: 44.84 kB / 0.8833 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.01078, allocations: 209.2 kB / 0.8835 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.01081, allocations: 16.38 kB / 0.8835 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.01088, allocations: 32.36 kB / 0.8835 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.01112, allocations: 121.5 kB / 0.8836 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.01114, allocations: 4.125 kB / 0.8836 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.266e-05/0.01116, allocations: 8.375 kB / 0.8836 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.01117, allocations: 4.375 kB / 0.8836 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.933e-05/0.01127, allocations: 39.91 kB / 0.8837 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009001/0.01217, allocations: 0.6543 MB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.01268, allocations: 78.97 kB / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.01273, allocations: 27.67 kB / 0.8844 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-06/0.01274, allocations: 0 / 0.8844 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/0.01295, allocations: 153 kB / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.01295, allocations: 192 / 0.8846 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0004206/0.01337, allocations: 212 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.01341, allocations: 59.41 kB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.01359, allocations: 250.1 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.01364, allocations: 45.7 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01375, allocations: 171.4 kB / 0.8853 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.01379, allocations: 43.73 kB / 0.8853 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.01397, allocations: 119.3 kB / 0.8854 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.01413, allocations: 0.4962 MB / 0.8859 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.01446, allocations: 280.4 kB / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003896/0.01485, allocations: 405.4 kB / 0.8866 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.01525, allocations: 400.5 kB / 0.8869 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.01526, allocations: 4 kB / 0.8869 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008635/0.01612, allocations: 0.752 MB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.801e-05/0.0162, allocations: 164.5 kB / 0.8878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.01621, allocations: 0 / 0.8878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.01622, allocations: 4 kB / 0.8878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.869e-05/0.01625, allocations: 15.92 kB / 0.8878 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.01626, allocations: 4 kB / 0.8879 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.01659, allocations: 108 kB / 0.888 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-05/0.01663, allocations: 35.97 kB / 0.888 GB, free: 11.74 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001209/0.01676, allocations: 182 kB / 0.8882 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.01678, allocations: 31.84 kB / 0.8882 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.154e-05/0.01682, allocations: 17.81 kB / 0.8882 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01682, allocations: 8 kB / 0.8882 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.01682, allocations: 0 / 0.8882 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01683, allocations: 3.938 kB / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.01717, allocations: 473.2 kB / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01718, allocations: 0 / 0.8887 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.181e-05/0.01719, allocations: 4 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01719, allocations: 0 / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.0172, allocations: 7.984 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.01721, allocations: 7.938 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01721, allocations: 0 / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.01742, allocations: 313.2 kB / 0.889 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.506e-05/0.01744, allocations: 19.91 kB / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.01746, allocations: 7.984 kB / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.01749, allocations: 7.938 kB / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.082e-05/0.01754, allocations: 15.97 kB / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.01756, allocations: 12 kB / 0.8891 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.01762, allocations: 155.2 kB / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01762, allocations: 0 / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002561/0.01788, allocations: 83.88 kB / 0.8893 GB, free: 10.35 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001304/0.01801, allocations: 120.3 kB / 0.8894 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005631/0.01857, allocations: 0.6753 MB / 0.8901 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.01857, allocations: 0 / 0.8901 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.01865, allocations: 71.53 kB / 0.8901 GB, free: 9.375 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.01894, allocations: 48.69 kB / 0.8902 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004737/0.01941, allocations: 315.2 kB / 0.8905 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.393e-05/0.01946, allocations: 75.98 kB / 0.8905 GB, free: 8.898 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.947e-05/0.01951, allocations: 21.48 kB / 0.8906 GB, free: 8.879 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.01954, allocations: 16.5 kB / 0.8906 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/0.01954, allocations: 0 / 0.8906 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of Templates: time 0.007678/0.02722, allocations: 5.578 MB / 0.896 GB, free: 3.414 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.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.709482507780194]