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.002243/0.002243, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001856/0.001856, allocations: 157.6 kB / 23.01 MB, free: 4.602 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.494/1.494, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.795/2.795, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 67.89 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9849/0.987, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001785/0.9888, allocations: 0.7978 MB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001466/0.9903, allocations: 1.493 MB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.362e-05/0.9903, allocations: 0 / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.9904, allocations: 26.02 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.9905, allocations: 40.12 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.9916, allocations: 0.5138 MB / 1.157 GB, free: 31.46 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003837/0.992, allocations: 473.2 kB / 1.157 GB, free: 31.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.9921, allocations: 39.03 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.9922, allocations: 182.4 kB / 1.157 GB, free: 31.17 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.9925, allocations: 155.4 kB / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.202e-05/0.9925, allocations: 40.09 kB / 1.158 GB, free: 31.12 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.9926, allocations: 55.56 kB / 1.158 GB, free: 31.11 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.9927, allocations: 36.7 kB / 1.158 GB, free: 31.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.9928, allocations: 152.1 kB / 1.158 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.9932, allocations: 416.1 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.9932, allocations: 0 / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9932, allocations: 4 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.9932, allocations: 0 / 1.158 GB, free: 30.88 MB / 1.076 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.0006004/0.9938, allocations: 0.5729 MB / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.9938, allocations: 10.41 kB / 1.159 GB, free: 30.37 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.9939, allocations: 28.88 kB / 1.159 GB, free: 30.36 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.9942, allocations: 208 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.9942, allocations: 15.06 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.9942, allocations: 30.91 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.9945, allocations: 155 kB / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.9945, allocations: 192 / 1.159 GB, free: 30.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.9945, allocations: 11.94 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.9945, allocations: 2.781 kB / 1.159 GB, free: 30.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.9946, allocations: 88.2 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000627/0.9952, allocations: 0.5653 MB / 1.16 GB, free: 29.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.9954, allocations: 84.31 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.082e-05/0.9955, allocations: 41.48 kB / 1.16 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.9955, allocations: 6.875 kB / 1.16 GB, free: 29.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.9957, allocations: 167.3 kB / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.9957, allocations: 0 / 1.16 GB, free: 29.51 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0004068/0.9961, allocations: 249.9 kB / 1.16 GB, free: 29.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.756e-05/0.9961, allocations: 65.11 kB / 1.16 GB, free: 29.34 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.9963, allocations: 182.3 kB / 1.161 GB, free: 29.21 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.9963, allocations: 38.83 kB / 1.161 GB, free: 29.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/0.9964, allocations: 126.5 kB / 1.161 GB, free: 29.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.9964, allocations: 43.58 kB / 1.161 GB, free: 29.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.9966, allocations: 115.4 kB / 1.161 GB, free: 29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.769e-05/0.9966, allocations: 331.8 kB / 1.161 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.997, allocations: 311.5 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003665/0.9973, allocations: 395.4 kB / 1.162 GB, free: 28.14 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.9977, allocations: 408.4 kB / 1.162 GB, free: 27.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9977, allocations: 0 / 1.162 GB, free: 27.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000874/0.9986, allocations: 0.7816 MB / 1.163 GB, free: 27.28 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.673e-05/0.9986, allocations: 160.4 kB / 1.163 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.9987, allocations: 3 kB / 1.163 GB, free: 27.12 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.9987, allocations: 7.188 kB / 1.163 GB, free: 27.11 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.266e-05/0.9987, allocations: 17.81 kB / 1.163 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.9987, allocations: 5.75 kB / 1.163 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.9995, allocations: 134.4 kB / 1.163 GB, free: 27.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.9995, allocations: 34.22 kB / 1.163 GB, free: 27.08 MB / 1.076 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.0001534/0.9997, allocations: 159.2 kB / 1.164 GB, free: 26.95 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.9997, allocations: 16.34 kB / 1.164 GB, free: 26.94 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.9997, allocations: 16.41 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.9997, allocations: 6.719 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9998, allocations: 0 / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9998, allocations: 3.422 kB / 1.164 GB, free: 26.92 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/1, allocations: 443.6 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1, allocations: 0 / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/1, allocations: 6.156 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1, allocations: 6.25 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/1, allocations: 6.844 kB / 1.164 GB, free: 26.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/1, allocations: 3.938 kB / 1.164 GB, free: 26.6 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1, allocations: 0 / 1.164 GB, free: 26.6 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/1, allocations: 283.2 kB / 1.164 GB, free: 26.42 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/1, allocations: 20.56 kB / 1.164 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/1, allocations: 0 / 1.164 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.064e-05/1.001, allocations: 9.453 kB / 1.164 GB, free: 26.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/1.001, allocations: 23.48 kB / 1.164 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/1.001, allocations: 8.719 kB / 1.164 GB, free: 26.39 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.869e-05/1.001, allocations: 121.7 kB / 1.164 GB, free: 26.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.001, allocations: 3.938 kB / 1.164 GB, free: 26.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003484/1.001, allocations: 80.36 kB / 1.165 GB, free: 26.29 MB / 1.076 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.0001406/1.001, allocations: 112.7 kB / 1.165 GB, free: 26.19 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006346/1.002, allocations: 0.7039 MB / 1.165 GB, free: 25.61 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.002, allocations: 0 / 1.165 GB, free: 25.61 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/1.002, allocations: 70.44 kB / 1.165 GB, free: 25.59 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004143/1.002, allocations: 43.05 kB / 1.165 GB, free: 25.58 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004805/1.003, allocations: 331.7 kB / 1.166 GB, free: 25.37 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.517e-05/1.003, allocations: 122 kB / 1.166 GB, free: 25.29 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.923e-05/1.003, allocations: 26.06 kB / 1.166 GB, free: 25.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/1.003, allocations: 19.94 kB / 1.166 GB, free: 25.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.31e-07/1.003, allocations: 0 / 1.166 GB, free: 25.27 MB / 1.076 GB Notification: Performance of Templates: time 0.009213/1.012, allocations: 5.124 MB / 1.171 GB, free: 24.65 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.074705521925353]