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.001339/0.001339, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001433/0.001433, allocations: 210.9 kB / 22.99 MB, free: 4.957 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.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 3.355/3.355, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 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.002175/0.002175, allocations: 68.56 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4162, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002181/0.4184, allocations: 0.7964 MB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.4207, allocations: 1.498 MB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.4208, allocations: 4 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001272/0.4209, allocations: 15.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.535e-05/0.421, allocations: 35.7 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.4223, allocations: 0.522 MB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000594/0.4229, allocations: 483.1 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.423, allocations: 25.67 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.4232, allocations: 183.8 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.4235, allocations: 179.5 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.603e-05/0.4236, allocations: 40 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.4237, allocations: 55.92 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.062e-05/0.4238, allocations: 43.84 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.424, allocations: 155.6 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.4245, allocations: 410.8 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4245, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4245, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.4245, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 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.0008701/0.4254, allocations: 0.58 MB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4254, allocations: 8.031 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.4255, allocations: 32.84 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000395/0.4259, allocations: 210.1 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.603e-05/0.426, allocations: 16.38 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.202e-05/0.426, allocations: 32.38 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.4263, allocations: 154.9 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4263, allocations: 192 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.4264, allocations: 11.92 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.4264, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.4265, allocations: 83.89 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009041/0.4274, allocations: 0.5625 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.4276, allocations: 86.48 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.4277, allocations: 40.83 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.4277, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.4281, allocations: 169 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.412e-06/0.4281, allocations: 96 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005254/0.4286, allocations: 250.3 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.4286, allocations: 59.39 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.4288, allocations: 186.7 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.18e-05/0.4289, allocations: 37.7 kB / 1.334 GB, free: 9.867 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.429, allocations: 132.6 kB / 1.334 GB, free: 9.734 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.4291, allocations: 43.73 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.4293, allocations: 113.6 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.4295, allocations: 326.8 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004534/0.43, allocations: 312.4 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005381/0.4305, allocations: 390.6 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005369/0.431, allocations: 408.6 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.431, allocations: 4 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001185/0.4322, allocations: 0.7754 MB / 1.336 GB, free: 7.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.4324, allocations: 160.5 kB / 1.336 GB, free: 6.961 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4324, allocations: 7.984 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.4324, allocations: 11.92 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.166e-05/0.4324, allocations: 11.94 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.4325, allocations: 7.938 kB / 1.336 GB, free: 6.922 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000739/0.4332, allocations: 136.1 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.017e-05/0.4333, allocations: 31.97 kB / 1.337 GB, free: 6.758 MB / 1.029 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.0002437/0.4335, allocations: 163.5 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.4335, allocations: 15.91 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5e-05/0.4336, allocations: 17.8 kB / 1.337 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4336, allocations: 7.938 kB / 1.337 GB, free: 6.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4336, allocations: 3.938 kB / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4336, allocations: 0 / 1.337 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.4342, allocations: 435.6 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4342, allocations: 0 / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.513e-05/0.4342, allocations: 11.94 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.4342, allocations: 7.938 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-05/0.4343, allocations: 7.984 kB / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4343, allocations: 0 / 1.337 GB, free: 6.047 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.4343, allocations: 4 kB / 1.337 GB, free: 6.043 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.4346, allocations: 276.9 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.241e-05/0.4347, allocations: 15.84 kB / 1.338 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.4347, allocations: 7.984 kB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.469e-05/0.4348, allocations: 4 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.845e-05/0.4348, allocations: 15.97 kB / 1.338 GB, free: 5.715 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4348, allocations: 15.98 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.602e-05/0.4349, allocations: 119.2 kB / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4349, allocations: 0 / 1.338 GB, free: 5.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003822/0.4353, allocations: 83.89 kB / 1.338 GB, free: 5.5 MB / 1.029 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.0001734/0.4355, allocations: 115.1 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009188/0.4364, allocations: 0.6965 MB / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4364, allocations: 0 / 1.339 GB, free: 4.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4365, allocations: 67.89 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.437, allocations: 50.53 kB / 1.339 GB, free: 4.477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000655/0.4376, allocations: 332 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.4378, allocations: 120.1 kB / 1.339 GB, free: 3.988 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.692e-05/0.4378, allocations: 21.48 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.4379, allocations: 19.44 kB / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4379, allocations: 0 / 1.339 GB, free: 3.949 MB / 1.029 GB Notification: Performance of Templates: time 0.01013/0.448, allocations: 5.26 MB / 1.344 GB, free: 14.81 MB / 1.045 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 -s cvode -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.64564919899567]