Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001462/0.001462, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001603/0.001603, allocations: 165.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.835/2.835, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.977e-06/3.977e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.339e-05/4.737e-05, allocations: 4.531 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002358/0.002406, allocations: 0.7893 MB / 0.9822 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002493/0.004899, allocations: 1.513 MB / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.004976, allocations: 0 / 0.9837 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.005115, allocations: 19.8 kB / 0.9837 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.38e-05/0.005199, allocations: 43.66 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001421/0.006619, allocations: 0.5088 MB / 0.9843 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007259/0.007345, allocations: 491.1 kB / 0.9847 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.007496, allocations: 21.67 kB / 0.9848 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.007844, allocations: 267.6 kB / 0.985 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.008132, allocations: 151.6 kB / 0.9852 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.008237, allocations: 40 kB / 0.9852 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.008372, allocations: 48 kB / 0.9852 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.178e-05/0.008444, allocations: 43.83 kB / 0.9853 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000271/0.008715, allocations: 139.8 kB / 0.9854 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007378/0.009453, allocations: 486.8 kB / 0.9859 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.133e-05/0.009464, allocations: 3.984 kB / 0.9859 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.009466, allocations: 4 kB / 0.9859 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.009472, allocations: 4 kB / 0.9859 GB, free: 7.363 MB / 0.9356 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.0008902/0.01036, allocations: 0.5683 MB / 0.9864 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.0104, allocations: 12.03 kB / 0.9865 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.01052, allocations: 28.84 kB / 0.9865 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003738/0.0109, allocations: 205.3 kB / 0.9867 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.964e-05/0.01093, allocations: 20.38 kB / 0.9867 GB, free: 6.445 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.546e-05/0.011, allocations: 32.36 kB / 0.9867 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.0113, allocations: 151.7 kB / 0.9869 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.389e-05/0.01136, allocations: 4.125 kB / 0.9869 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.01139, allocations: 8.375 kB / 0.9869 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.01139, allocations: 4.375 kB / 0.9869 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.01155, allocations: 83.89 kB / 0.987 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.01252, allocations: 0.5626 MB / 0.9875 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.01272, allocations: 94.47 kB / 0.9876 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.168e-05/0.01281, allocations: 40.83 kB / 0.9876 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.01282, allocations: 4 kB / 0.9876 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.01315, allocations: 157.3 kB / 0.9878 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/0.01315, allocations: 4.188 kB / 0.9878 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004941/0.01365, allocations: 245.4 kB / 0.988 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.01371, allocations: 59.41 kB / 0.9881 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.01389, allocations: 179.9 kB / 0.9883 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.597e-05/0.01395, allocations: 41.8 kB / 0.9883 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.01409, allocations: 128.6 kB / 0.9884 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.64e-05/0.01413, allocations: 43.62 kB / 0.9885 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.01435, allocations: 117.6 kB / 0.9886 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.01455, allocations: 326.8 kB / 0.9889 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.01501, allocations: 308.4 kB / 0.9892 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.01561, allocations: 394.6 kB / 0.9896 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007184/0.01633, allocations: 404.8 kB / 0.9899 GB, free: 2.828 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01633, allocations: 4 kB / 0.99 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001299/0.01763, allocations: 0.7789 MB / 0.9907 GB, free: 1.98 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.01776, allocations: 164.5 kB / 0.9909 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.01777, allocations: 0 / 0.9909 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/0.01779, allocations: 4 kB / 0.9909 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.976e-05/0.01783, allocations: 12.28 kB / 0.9909 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.01785, allocations: 15.92 kB / 0.9909 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008189/0.01866, allocations: 151.5 kB / 0.991 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.01874, allocations: 31.98 kB / 0.9911 GB, free: 1.578 MB / 0.9356 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.000214/0.01895, allocations: 159.3 kB / 0.9912 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.01898, allocations: 19.89 kB / 0.9912 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.744e-05/0.01903, allocations: 17.81 kB / 0.9913 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.01903, allocations: 0 / 0.9913 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.01904, allocations: 0 / 0.9913 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.01904, allocations: 3.938 kB / 0.9913 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.01964, allocations: 440.6 kB / 0.9917 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01964, allocations: 4 kB / 0.9917 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.409e-05/0.01966, allocations: 7.938 kB / 0.9917 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.01967, allocations: 3.984 kB / 0.9917 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.01968, allocations: 4 kB / 0.9917 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/0.01969, allocations: 7.938 kB / 0.9917 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01969, allocations: 0 / 0.9917 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.02003, allocations: 275.3 kB / 0.992 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.921e-05/0.02005, allocations: 11.97 kB / 0.992 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.02008, allocations: 12 kB / 0.992 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.02015, allocations: 3.938 kB / 0.992 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.02021, allocations: 27.92 kB / 0.992 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.02023, allocations: 11.98 kB / 0.992 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000102/0.02033, allocations: 127.4 kB / 0.9922 GB, free: 416 kB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.02033, allocations: 0 / 0.9922 GB, free: 416 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000371/0.0207, allocations: 75.94 kB / 0.9922 GB, free: 340 kB / 0.9356 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.0001918/0.02089, allocations: 112.1 kB / 0.9923 GB, free: 216 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001098/0.02199, allocations: 0.7019 MB / 0.993 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02199, allocations: 4.062 kB / 0.993 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.02211, allocations: 63.91 kB / 0.9931 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/0.02254, allocations: 46.08 kB / 0.9931 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006528/0.02319, allocations: 338.7 kB / 0.9935 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.02332, allocations: 116.2 kB / 0.9936 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 6.491e-05/0.02339, allocations: 21.48 kB / 0.9936 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.02343, allocations: 16.5 kB / 0.9936 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of SimCode: time 4.01e-07/0.02343, allocations: 0 / 0.9936 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of Templates: time 0.01005/0.03348, allocations: 5.082 MB / 0.9986 GB, free: 9.824 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.487975053489208]