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.001438/0.001438, allocations: 84.73 kB / 19.44 MB, free: 356 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.001578/0.001578, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.519/1.519, allocations: 177.1 MB / 203.1 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] 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 3.234/3.234, allocations: 429.6 MB / 0.673 GB, free: 3.859 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|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.1.|mulAnd1.y|mulAnd2.u.1.|mulAnd2.u.2.|mulAnd2.y|mulAnd5.u.1.|mulAnd5.u.2.|mulAnd5.u.3.|mulAnd5.u.4.|mulAnd5.u.5.|mulAnd5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.496e-06/3.496e-06, allocations: 0 / 0.8776 GB, free: 5.312 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.885e-05/4.235e-05, allocations: 7.797 kB / 0.8776 GB, free: 5.305 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003378/0.003421, allocations: 0.8001 MB / 0.8784 GB, free: 4.527 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.006725, allocations: 1.511 MB / 0.8799 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.006855, allocations: 7.938 kB / 0.8799 GB, free: 3 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.007044, allocations: 17.77 kB / 0.8799 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.007182, allocations: 31.39 kB / 0.8799 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.009111, allocations: 0.5038 MB / 0.8804 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.01012, allocations: 483.1 kB / 0.8809 GB, free: 1.984 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.01032, allocations: 33.55 kB / 0.8809 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.011, allocations: 255.7 kB / 0.8811 GB, free: 1.699 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005237/0.01152, allocations: 149.2 kB / 0.8813 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.01169, allocations: 40 kB / 0.8813 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.01191, allocations: 55.92 kB / 0.8814 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.01202, allocations: 43.89 kB / 0.8814 GB, free: 1.418 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.01237, allocations: 140.8 kB / 0.8816 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0008998/0.01327, allocations: 490.7 kB / 0.882 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.01327, allocations: 0 / 0.882 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.745e-06/0.01328, allocations: 1.094 kB / 0.882 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.01329, allocations: 0 / 0.882 GB, free: 0.8008 MB / 0.7917 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.001214/0.0145, allocations: 0.576 MB / 0.8826 GB, free: 164 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/0.01456, allocations: 9.094 kB / 0.8826 GB, free: 156 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.01476, allocations: 36.84 kB / 0.8826 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005879/0.01535, allocations: 206 kB / 0.8828 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.0154, allocations: 17.5 kB / 0.8828 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.01552, allocations: 36.3 kB / 0.8829 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.01595, allocations: 153.8 kB / 0.883 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.01597, allocations: 1.062 kB / 0.883 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.016, allocations: 384 / 0.883 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.01602, allocations: 5.094 kB / 0.883 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.01627, allocations: 83.89 kB / 0.8831 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001457/0.01773, allocations: 0.5719 MB / 0.8837 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.01806, allocations: 94.52 kB / 0.8838 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.01819, allocations: 33.34 kB / 0.8838 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.01822, allocations: 5.844 kB / 0.8838 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005762/0.01879, allocations: 163.3 kB / 0.884 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.314e-06/0.01879, allocations: 0 / 0.884 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0009888/0.01978, allocations: 247.5 kB / 0.8842 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.01989, allocations: 63.91 kB / 0.8843 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.02022, allocations: 181.2 kB / 0.8844 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.02033, allocations: 38.67 kB / 0.8845 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.02057, allocations: 128.6 kB / 0.8846 GB, free: 14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/0.02065, allocations: 49.27 kB / 0.8846 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.02106, allocations: 117.6 kB / 0.8847 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002852/0.02135, allocations: 326.8 kB / 0.8851 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000808/0.02216, allocations: 304.4 kB / 0.8853 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008918/0.02305, allocations: 402.1 kB / 0.8857 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009148/0.02396, allocations: 408.6 kB / 0.8861 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.02397, allocations: 0 / 0.8861 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00214/0.02611, allocations: 0.8028 MB / 0.8869 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/0.02632, allocations: 160.5 kB / 0.8871 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.02634, allocations: 4 kB / 0.8871 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.668e-05/0.02638, allocations: 4 kB / 0.8871 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.02644, allocations: 11.94 kB / 0.8871 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.02646, allocations: 8.328 kB / 0.8871 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.02772, allocations: 135.7 kB / 0.8872 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.02783, allocations: 31.98 kB / 0.8872 GB, free: 11 MB / 0.8073 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.0003699/0.0282, allocations: 167.2 kB / 0.8874 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.357e-05/0.02829, allocations: 23.91 kB / 0.8874 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.498e-05/0.02837, allocations: 17.81 kB / 0.8874 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.02838, allocations: 0 / 0.8874 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.02839, allocations: 0 / 0.8874 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.0284, allocations: 7.922 kB / 0.8875 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.02948, allocations: 440.2 kB / 0.8879 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.02948, allocations: 3.984 kB / 0.8879 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.702e-05/0.02952, allocations: 12 kB / 0.8879 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.02953, allocations: 4 kB / 0.8879 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.02956, allocations: 8 kB / 0.8879 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.046e-06/0.02957, allocations: 3.938 kB / 0.8879 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.02957, allocations: 0 / 0.8879 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005862/0.03016, allocations: 283.3 kB / 0.8882 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.0302, allocations: 19.84 kB / 0.8882 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.841e-05/0.03025, allocations: 7.984 kB / 0.8882 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.03038, allocations: 3.938 kB / 0.8882 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.03048, allocations: 23.97 kB / 0.8882 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.03052, allocations: 8 kB / 0.8882 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000179/0.0307, allocations: 131.5 kB / 0.8884 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/0.0307, allocations: 0 / 0.8884 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000712/0.03141, allocations: 75.95 kB / 0.8884 GB, free: 9.719 MB / 0.8073 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.0003097/0.03172, allocations: 124.2 kB / 0.8885 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.0333, allocations: 0.6926 MB / 0.8892 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.03331, allocations: 0.6875 kB / 0.8892 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.03351, allocations: 68.42 kB / 0.8893 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007527/0.03426, allocations: 50 kB / 0.8893 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.03534, allocations: 333.6 kB / 0.8897 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.03556, allocations: 116.5 kB / 0.8898 GB, free: 8.211 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001245/0.03569, allocations: 25.42 kB / 0.8898 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.761e-05/0.03575, allocations: 20.5 kB / 0.8898 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of SimCode: time 7.62e-07/0.03576, allocations: 0 / 0.8898 GB, free: 8.164 MB / 0.8073 GB Notification: Performance of Templates: time 0.01679/0.05254, allocations: 5.079 MB / 0.8948 GB, free: 3.203 MB / 0.8073 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.622388039017096]