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.001048/0.001048, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009415/0.0009415, allocations: 173 kB / 23.49 MB, free: 1.059 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.9877/0.9877, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.106/2.106, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.873e-06/1.873e-06, allocations: 0 / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.051e-05, allocations: 9.344 kB / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001576/0.001597, allocations: 0.8322 MB / 0.879 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.00331, allocations: 1.53 MB / 0.8805 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.003385, allocations: 4.875 kB / 0.8805 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001209/0.003506, allocations: 23.8 kB / 0.8805 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.003566, allocations: 36.8 kB / 0.8806 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.004581, allocations: 0.4978 MB / 0.8811 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.005053, allocations: 484 kB / 0.8815 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001298/0.005183, allocations: 30.78 kB / 0.8816 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.005424, allocations: 259.7 kB / 0.8818 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.005625, allocations: 139.7 kB / 0.8819 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.005685, allocations: 41.03 kB / 0.882 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.483e-05/0.005779, allocations: 55.98 kB / 0.882 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.446e-05/0.005834, allocations: 47.77 kB / 0.8821 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.005977, allocations: 136.8 kB / 0.8822 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006343/0.006611, allocations: 359.1 kB / 0.8825 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006614, allocations: 4 kB / 0.8825 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.61e-07/0.006615, allocations: 0.7188 kB / 0.8825 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.00662, allocations: 0 / 0.8825 GB, free: 2.152 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.0006196/0.007239, allocations: 0.6697 MB / 0.8832 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.007277, allocations: 12.03 kB / 0.8832 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.975e-05/0.007376, allocations: 36.84 kB / 0.8832 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.007644, allocations: 205 kB / 0.8834 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.007668, allocations: 20.81 kB / 0.8835 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.239e-05/0.007721, allocations: 29.84 kB / 0.8835 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.007904, allocations: 122.6 kB / 0.8836 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.007912, allocations: 192 / 0.8836 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.007927, allocations: 4.375 kB / 0.8836 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.007937, allocations: 8.891 kB / 0.8836 GB, free: 0.9492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.873e-05/0.008016, allocations: 40.72 kB / 0.8837 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006717/0.008687, allocations: 0.6596 MB / 0.8843 GB, free: 216 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.008817, allocations: 75.05 kB / 0.8844 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.008864, allocations: 31.66 kB / 0.8844 GB, free: 92 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.008873, allocations: 7.375 kB / 0.8844 GB, free: 88 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/0.009058, allocations: 150 kB / 0.8846 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.009059, allocations: 0 / 0.8846 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003621/0.009422, allocations: 207 kB / 0.8848 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.00946, allocations: 63.33 kB / 0.8848 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.00961, allocations: 251.2 kB / 0.8851 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.009653, allocations: 41.7 kB / 0.8851 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.009749, allocations: 167.4 kB / 0.8853 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.009778, allocations: 40.89 kB / 0.8853 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000162/0.00994, allocations: 127.3 kB / 0.8854 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.01007, allocations: 0.4962 MB / 0.8859 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.01036, allocations: 277.5 kB / 0.8862 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003383/0.0107, allocations: 398.2 kB / 0.8865 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.01106, allocations: 412.6 kB / 0.8869 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01106, allocations: 0 / 0.8869 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008326/0.01189, allocations: 0.7598 MB / 0.8877 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/0.01197, allocations: 160.5 kB / 0.8878 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01198, allocations: 4 kB / 0.8878 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.01199, allocations: 4 kB / 0.8878 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-05/0.01202, allocations: 15.88 kB / 0.8879 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.01203, allocations: 4.344 kB / 0.8879 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.01242, allocations: 111.7 kB / 0.888 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.364e-05/0.01247, allocations: 31.98 kB / 0.888 GB, free: 12.05 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.00013/0.0126, allocations: 190 kB / 0.8882 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.01263, allocations: 27.86 kB / 0.8882 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.01267, allocations: 25.8 kB / 0.8882 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01267, allocations: 3.938 kB / 0.8882 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01267, allocations: 0 / 0.8882 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.01268, allocations: 3.938 kB / 0.8882 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004059/0.01309, allocations: 463 kB / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01309, allocations: 0 / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.354e-05/0.0131, allocations: 11.92 kB / 0.8887 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.0131, allocations: 0 / 0.8887 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.01311, allocations: 4 kB / 0.8887 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01312, allocations: 3.938 kB / 0.8887 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01312, allocations: 4 kB / 0.8887 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.01336, allocations: 317.8 kB / 0.889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.01337, allocations: 15.91 kB / 0.889 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.01339, allocations: 4 kB / 0.889 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.11e-05/0.01346, allocations: 11.92 kB / 0.889 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.0135, allocations: 19.97 kB / 0.8891 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.01352, allocations: 4 kB / 0.8891 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003346/0.01385, allocations: 155.2 kB / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01385, allocations: 0 / 0.8892 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003402/0.01419, allocations: 83.89 kB / 0.8893 GB, free: 10.66 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.000117/0.01431, allocations: 116.4 kB / 0.8894 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005971/0.0149, allocations: 0.6733 MB / 0.8901 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01491, allocations: 0 / 0.8901 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.14e-05/0.01499, allocations: 63.55 kB / 0.8901 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.01533, allocations: 62.22 kB / 0.8902 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.01578, allocations: 315.2 kB / 0.8905 GB, free: 9.305 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.693e-05/0.01583, allocations: 72 kB / 0.8905 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.829e-05/0.01587, allocations: 21.47 kB / 0.8906 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.01591, allocations: 28.44 kB / 0.8906 GB, free: 9.168 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.01591, allocations: 4 kB / 0.8906 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of Templates: time 0.007089/0.023, allocations: 5.103 MB / 0.8956 GB, free: 4.184 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.759840573882684]