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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 190.5 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 250.8 MB, free: 13.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.317/3.317, allocations: 495.8 MB / 0.783 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002028/0.002028, allocations: 72.14 kB / 1.137 GB, free: 33.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4283, allocations: 173.6 MB / 1.307 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002401/0.4307, allocations: 0.8391 MB / 1.308 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002162/0.4328, allocations: 1.482 MB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.165e-05/0.4329, allocations: 7.938 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.4331, allocations: 15.8 kB / 1.309 GB, free: 15.53 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.4332, allocations: 35.72 kB / 1.309 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.4346, allocations: 0.5213 MB / 1.31 GB, free: 14.99 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.4353, allocations: 483.2 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.4354, allocations: 25.62 kB / 1.31 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.4356, allocations: 195.7 kB / 1.31 GB, free: 14.29 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.436, allocations: 167.6 kB / 1.31 GB, free: 14.13 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.4361, allocations: 44 kB / 1.31 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.4362, allocations: 51.92 kB / 1.311 GB, free: 14.04 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.4363, allocations: 43.84 kB / 1.311 GB, free: 13.99 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.4365, allocations: 167.5 kB / 1.311 GB, free: 13.83 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005477/0.4371, allocations: 406.8 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4371, allocations: 4 kB / 1.311 GB, free: 13.43 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4371, allocations: 3.938 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.239e-05/0.4371, allocations: 0 / 1.311 GB, free: 13.42 MB / 1.014 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.0009166/0.438, allocations: 0.5684 MB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.4381, allocations: 19.95 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.4382, allocations: 28.84 kB / 1.312 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.4386, allocations: 202.2 kB / 1.312 GB, free: 12.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.4386, allocations: 28.34 kB / 1.312 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.309e-05/0.4387, allocations: 28.38 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003139/0.439, allocations: 157.6 kB / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.439, allocations: 192 / 1.312 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.439, allocations: 11.94 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.439, allocations: 4 kB / 1.312 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.4392, allocations: 88.89 kB / 1.312 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.4402, allocations: 0.6671 MB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.4405, allocations: 90.48 kB / 1.313 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.144e-05/0.4405, allocations: 40.84 kB / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.4405, allocations: 0 / 1.313 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.4408, allocations: 161.6 kB / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.4408, allocations: 0 / 1.313 GB, free: 11.18 MB / 1.014 GB Notification: Performance of matching and sorting (n=20): time 0.000552/0.4414, allocations: 249.5 kB / 1.313 GB, free: 10.93 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.4415, allocations: 59.41 kB / 1.313 GB, free: 10.86 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.4417, allocations: 182.1 kB / 1.314 GB, free: 10.67 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.706e-05/0.4417, allocations: 41.7 kB / 1.314 GB, free: 10.62 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.4419, allocations: 128.7 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.531e-05/0.4419, allocations: 43.7 kB / 1.314 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.4422, allocations: 117.6 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4423, allocations: 326.8 kB / 1.314 GB, free: 10 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.4427, allocations: 151.9 kB / 1.314 GB, free: 9.852 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.4431, allocations: 251.7 kB / 1.315 GB, free: 9.57 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.4437, allocations: 413.9 kB / 1.315 GB, free: 9.102 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4437, allocations: 0 / 1.315 GB, free: 9.102 MB / 1.014 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001159/0.4448, allocations: 0.6265 MB / 1.316 GB, free: 8.438 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.445, allocations: 164.5 kB / 1.316 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.445, allocations: 7.938 kB / 1.316 GB, free: 8.238 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.769e-05/0.445, allocations: 4.344 kB / 1.316 GB, free: 8.234 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.328e-05/0.4451, allocations: 11.94 kB / 1.316 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.4451, allocations: 7.984 kB / 1.316 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007996/0.4459, allocations: 143.7 kB / 1.316 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.446, allocations: 35.92 kB / 1.316 GB, free: 8.039 MB / 1.014 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.0002462/0.4462, allocations: 151.1 kB / 1.316 GB, free: 7.883 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.4462, allocations: 19.89 kB / 1.316 GB, free: 7.863 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.4463, allocations: 21.84 kB / 1.316 GB, free: 7.84 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4463, allocations: 11.88 kB / 1.316 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4463, allocations: 0 / 1.316 GB, free: 7.828 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4463, allocations: 4 kB / 1.316 GB, free: 7.824 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006637/0.447, allocations: 486.3 kB / 1.317 GB, free: 7.301 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.447, allocations: 7.984 kB / 1.317 GB, free: 7.293 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/0.447, allocations: 7.938 kB / 1.317 GB, free: 7.285 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.447, allocations: 4 kB / 1.317 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.447, allocations: 0 / 1.317 GB, free: 7.281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.447, allocations: 7.938 kB / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.447, allocations: 0 / 1.317 GB, free: 7.273 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003467/0.4474, allocations: 289 kB / 1.317 GB, free: 6.977 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.4474, allocations: 11.91 kB / 1.317 GB, free: 6.965 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.4474, allocations: 7.984 kB / 1.317 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.4475, allocations: 4 kB / 1.317 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.865e-05/0.4476, allocations: 19.92 kB / 1.317 GB, free: 6.934 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4476, allocations: 12 kB / 1.317 GB, free: 6.922 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001101/0.4477, allocations: 124.2 kB / 1.317 GB, free: 6.801 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.4477, allocations: 0 / 1.317 GB, free: 6.801 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003773/0.4481, allocations: 79.92 kB / 1.317 GB, free: 6.723 MB / 1.014 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.0002064/0.4483, allocations: 112.6 kB / 1.317 GB, free: 6.605 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0008638/0.4491, allocations: 0.5523 MB / 1.318 GB, free: 5.992 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.4491, allocations: 0 / 1.318 GB, free: 5.992 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.4493, allocations: 70.47 kB / 1.318 GB, free: 5.926 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.4497, allocations: 55.83 kB / 1.318 GB, free: 5.871 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.4505, allocations: 320.3 kB / 1.318 GB, free: 5.535 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4509, allocations: 0.732 MB / 1.319 GB, free: 4.777 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.033e-05/0.4509, allocations: 29.45 kB / 1.319 GB, free: 4.746 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.451, allocations: 19.44 kB / 1.319 GB, free: 4.727 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/0.451, allocations: 0 / 1.319 GB, free: 4.727 MB / 1.014 GB Notification: Performance of Templates: time 0.01009/0.4611, allocations: 4.636 MB / 1.324 GB, free: 148 kB / 1.014 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: 9.633443539962173]