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.0008766/0.0008766, allocations: 76.45 kB / 19.93 MB, free: 4.629 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.0008211/0.0008211, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.9025/0.9025, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.773/1.773, allocations: 377.8 MB / 0.6228 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.655e-06/2.655e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.573e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001276/0.001301, allocations: 0.8033 MB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.002651, allocations: 1.509 MB / 0.9845 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.002704, allocations: 4 kB / 0.9845 GB, free: 15.76 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.002808, allocations: 23.8 kB / 0.9845 GB, free: 15.73 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 4.667e-05/0.002855, allocations: 39.64 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.003631, allocations: 0.5156 MB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003839/0.004015, allocations: 487.1 kB / 0.9855 GB, free: 14.72 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.00417, allocations: 33.55 kB / 0.9855 GB, free: 14.68 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.004369, allocations: 259.7 kB / 0.9858 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.004539, allocations: 143.6 kB / 0.9859 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.004586, allocations: 40 kB / 0.986 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-05/0.004669, allocations: 55.98 kB / 0.986 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.896e-05/0.004718, allocations: 35.84 kB / 0.986 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.004839, allocations: 147.7 kB / 0.9862 GB, free: 14.02 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.005247, allocations: 486.8 kB / 0.9866 GB, free: 13.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.005251, allocations: 4 kB / 0.9867 GB, free: 13.54 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.333e-06/0.005252, allocations: 0 / 0.9867 GB, free: 13.54 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.005257, allocations: 0 / 0.9867 GB, free: 13.54 MB / 0.948 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.0006099/0.005867, allocations: 0.5721 MB / 0.9872 GB, free: 12.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.005903, allocations: 12.03 kB / 0.9872 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.005982, allocations: 28.84 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.006222, allocations: 209.4 kB / 0.9874 GB, free: 12.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.868e-05/0.006241, allocations: 16.38 kB / 0.9875 GB, free: 12.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.214e-05/0.006283, allocations: 28.38 kB / 0.9875 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.006492, allocations: 155.8 kB / 0.9876 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006502, allocations: 192 / 0.9876 GB, free: 12.42 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.00652, allocations: 12.36 kB / 0.9877 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.006525, allocations: 384 / 0.9877 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.006669, allocations: 87.75 kB / 0.9877 GB, free: 12.32 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.007268, allocations: 0.5664 MB / 0.9883 GB, free: 11.72 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.007404, allocations: 90.48 kB / 0.9884 GB, free: 11.62 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.007453, allocations: 40.83 kB / 0.9884 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.007463, allocations: 8 kB / 0.9884 GB, free: 11.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.007639, allocations: 147.4 kB / 0.9886 GB, free: 11.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.00764, allocations: 3.938 kB / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0003479/0.007988, allocations: 247.4 kB / 0.9888 GB, free: 11.17 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.008025, allocations: 55.41 kB / 0.9889 GB, free: 11.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.008145, allocations: 191.1 kB / 0.989 GB, free: 10.91 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.008182, allocations: 37.7 kB / 0.9891 GB, free: 10.86 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.008263, allocations: 128.7 kB / 0.9892 GB, free: 10.73 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.008288, allocations: 47.62 kB / 0.9892 GB, free: 10.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001148/0.008403, allocations: 113.6 kB / 0.9893 GB, free: 10.57 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.008498, allocations: 326.8 kB / 0.9897 GB, free: 10.24 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.008778, allocations: 312.4 kB / 0.99 GB, free: 9.906 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.00909, allocations: 390.6 kB / 0.9903 GB, free: 9.457 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003171/0.009407, allocations: 409 kB / 0.9907 GB, free: 8.992 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.00941, allocations: 96 / 0.9907 GB, free: 8.992 MB / 0.948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007348/0.01015, allocations: 0.7773 MB / 0.9915 GB, free: 8.148 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.247e-05/0.01023, allocations: 160.8 kB / 0.9916 GB, free: 7.961 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01023, allocations: 4 kB / 0.9916 GB, free: 7.957 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01025, allocations: 8 kB / 0.9916 GB, free: 7.949 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.521e-05/0.01028, allocations: 15.86 kB / 0.9917 GB, free: 7.934 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.01029, allocations: 7.938 kB / 0.9917 GB, free: 7.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.0107, allocations: 143.6 kB / 0.9918 GB, free: 7.785 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.81e-05/0.01075, allocations: 35.97 kB / 0.9918 GB, free: 7.75 MB / 0.948 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.0001402/0.01089, allocations: 159.2 kB / 0.992 GB, free: 7.586 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.0109, allocations: 15.91 kB / 0.992 GB, free: 7.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.01094, allocations: 25.78 kB / 0.992 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.01094, allocations: 0 / 0.992 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.01095, allocations: 4 kB / 0.992 GB, free: 7.543 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.01096, allocations: 8 kB / 0.992 GB, free: 7.535 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/0.01133, allocations: 440.7 kB / 0.9925 GB, free: 7.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.01133, allocations: 0 / 0.9925 GB, free: 7.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/0.01134, allocations: 7.938 kB / 0.9925 GB, free: 7.062 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01135, allocations: 0 / 0.9925 GB, free: 7.062 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.01136, allocations: 4 kB / 0.9925 GB, free: 7.059 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01136, allocations: 11.92 kB / 0.9925 GB, free: 7.047 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01136, allocations: 0 / 0.9925 GB, free: 7.047 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.01156, allocations: 275.1 kB / 0.9927 GB, free: 6.762 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.01157, allocations: 15.84 kB / 0.9928 GB, free: 6.746 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.01159, allocations: 15.98 kB / 0.9928 GB, free: 6.73 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.01163, allocations: 3.938 kB / 0.9928 GB, free: 6.727 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.01168, allocations: 23.97 kB / 0.9928 GB, free: 6.703 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.01169, allocations: 7.938 kB / 0.9928 GB, free: 6.695 MB / 0.948 GB Notification: Performance of sorting global known variables: time 7.108e-05/0.01176, allocations: 123.2 kB / 0.9929 GB, free: 6.574 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01176, allocations: 0 / 0.9929 GB, free: 6.574 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002421/0.012, allocations: 79.95 kB / 0.993 GB, free: 6.496 MB / 0.948 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.0001259/0.01213, allocations: 112.7 kB / 0.9931 GB, free: 6.375 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0005403/0.01267, allocations: 0.7004 MB / 0.9938 GB, free: 5.582 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01267, allocations: 0 / 0.9938 GB, free: 5.582 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.01275, allocations: 70.14 kB / 0.9939 GB, free: 5.516 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.01303, allocations: 56.56 kB / 0.9939 GB, free: 5.461 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.01345, allocations: 360.3 kB / 0.9943 GB, free: 5.074 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.538e-05/0.01353, allocations: 112.2 kB / 0.9944 GB, free: 4.945 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.01356, allocations: 20.5 kB / 0.9944 GB, free: 4.926 MB / 0.948 GB Notification: Performance of SimCode: time 4.9e-07/0.01356, allocations: 0 / 0.9944 GB, free: 4.926 MB / 0.948 GB Notification: Performance of Templates: time 0.003798/0.01736, allocations: 3.392 MB / 0.9977 GB, free: 1.57 MB / 0.948 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] "" Variables in the reference: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 Variables in the result: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,time [Calling sys.exit(0), Time elapsed: 7.450767780654132]