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.001265/0.001265, 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.001437/0.001437, allocations: 169 kB / 23.02 MB, free: 1.555 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.983/0.983, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.22/2.22, allocations: 429.5 MB / 0.6732 GB, free: 4.027 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 1.523e-06/1.523e-06, allocations: 0 / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.169e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001305/0.001327, allocations: 0.841 MB / 0.879 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001484/0.002812, allocations: 1.537 MB / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.002881, allocations: 0 / 0.8805 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.003004, allocations: 27.73 kB / 0.8805 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.00306, allocations: 36.69 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008986/0.003958, allocations: 0.4982 MB / 0.8811 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.004352, allocations: 483.8 kB / 0.8815 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.004476, allocations: 27.3 kB / 0.8815 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000195/0.004671, allocations: 259.7 kB / 0.8818 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.004836, allocations: 147.6 kB / 0.8819 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.222e-05/0.004888, allocations: 40 kB / 0.882 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.508e-05/0.004973, allocations: 57.11 kB / 0.882 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.914e-05/0.005022, allocations: 43.83 kB / 0.8821 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.005147, allocations: 131.8 kB / 0.8822 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.005457, allocations: 356.2 kB / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.00546, allocations: 0 / 0.8825 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00546, allocations: 4 kB / 0.8825 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.379e-06/0.005465, allocations: 0.6562 kB / 0.8825 GB, free: 1.848 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.0005761/0.006041, allocations: 0.672 MB / 0.8832 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.006079, allocations: 12.53 kB / 0.8832 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.00616, allocations: 37.69 kB / 0.8832 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/0.0064, allocations: 209.2 kB / 0.8834 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.00642, allocations: 17.97 kB / 0.8835 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.427e-05/0.006464, allocations: 28.38 kB / 0.8835 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.006633, allocations: 125.5 kB / 0.8836 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.006644, allocations: 192 / 0.8836 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.006658, allocations: 8.359 kB / 0.8836 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.006667, allocations: 7.438 kB / 0.8836 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.006731, allocations: 47.83 kB / 0.8837 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005886/0.00732, allocations: 0.6504 MB / 0.8843 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.007694, allocations: 79.03 kB / 0.8844 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.043e-05/0.007735, allocations: 27.86 kB / 0.8844 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.444e-06/0.007742, allocations: 5.406 kB / 0.8844 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.007884, allocations: 145.6 kB / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.007886, allocations: 0 / 0.8845 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003169/0.008203, allocations: 215.7 kB / 0.8848 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.008236, allocations: 57.06 kB / 0.8848 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.008358, allocations: 254.1 kB / 0.885 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.008393, allocations: 41.7 kB / 0.8851 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.008478, allocations: 175.4 kB / 0.8853 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.008502, allocations: 35.75 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.008629, allocations: 128.2 kB / 0.8854 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.008769, allocations: 0.4962 MB / 0.8859 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.009027, allocations: 277 kB / 0.8862 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.009294, allocations: 397.5 kB / 0.8865 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.009571, allocations: 408.5 kB / 0.8869 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.009574, allocations: 8 kB / 0.8869 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006613/0.01024, allocations: 0.7483 MB / 0.8877 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.0103, allocations: 160.5 kB / 0.8878 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01031, allocations: 7.938 kB / 0.8878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01032, allocations: 4 kB / 0.8878 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.2e-05/0.01035, allocations: 8.344 kB / 0.8878 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01035, allocations: 15.92 kB / 0.8879 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.01066, allocations: 103.7 kB / 0.888 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.0107, allocations: 31.98 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.0001053/0.0108, allocations: 194 kB / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.01082, allocations: 23.86 kB / 0.8882 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.01086, allocations: 25.8 kB / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.01086, allocations: 0 / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01086, allocations: 0 / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01087, allocations: 3.938 kB / 0.8882 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.0112, allocations: 463.2 kB / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0112, allocations: 0 / 0.8887 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.234e-05/0.01122, allocations: 11.92 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01122, allocations: 0 / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.01123, allocations: 4 kB / 0.8887 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01123, allocations: 7.938 kB / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01123, allocations: 0 / 0.8887 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.01142, allocations: 317.8 kB / 0.889 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.01143, allocations: 15.91 kB / 0.889 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.01145, allocations: 7.938 kB / 0.889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.79e-05/0.01148, allocations: 15.86 kB / 0.889 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.01153, allocations: 15.97 kB / 0.889 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.01154, allocations: 8 kB / 0.889 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.802e-05/0.01159, allocations: 155.2 kB / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01159, allocations: 0 / 0.8892 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000235/0.01183, allocations: 87.88 kB / 0.8893 GB, free: 10.34 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.0001318/0.01196, allocations: 112.4 kB / 0.8894 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004929/0.01245, allocations: 0.6694 MB / 0.89 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01246, allocations: 4 kB / 0.89 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.426e-05/0.01252, allocations: 63.55 kB / 0.8901 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.01279, allocations: 60.67 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.0004065/0.0132, allocations: 316.7 kB / 0.8905 GB, free: 8.992 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.301e-05/0.01324, allocations: 72 kB / 0.8905 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.143e-05/0.01328, allocations: 21.47 kB / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.01331, allocations: 28.5 kB / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of SimCode: time 6.12e-07/0.01331, allocations: 0 / 0.8906 GB, free: 8.855 MB / 0.8542 GB Notification: Performance of Templates: time 0.006463/0.01977, allocations: 5.101 MB / 0.8956 GB, free: 3.875 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.750364872161299]