Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 108.6 kB / 15.73 MB, free: 72 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 181.3 kB / 16.66 MB, free: 6.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.3 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.843/2.843, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 67.89 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3643, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001924/0.3662, allocations: 0.8376 MB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.368, allocations: 1.482 MB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.368, allocations: 4 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.3681, allocations: 19.8 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.3682, allocations: 35.72 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/0.3694, allocations: 0.524 MB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004957/0.3699, allocations: 475.2 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.37, allocations: 41.41 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.3702, allocations: 179.7 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.3704, allocations: 175.5 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.3705, allocations: 40 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.3706, allocations: 51.98 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.3706, allocations: 51.84 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.3708, allocations: 159.5 kB / 1.225 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.3712, allocations: 414.6 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3712, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3712, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3712, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 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.0008007/0.372, allocations: 0.6531 MB / 1.226 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.372, allocations: 8.031 kB / 1.226 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.997e-05/0.3721, allocations: 28.84 kB / 1.226 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.3725, allocations: 269 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.3725, allocations: 20.38 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.712e-05/0.3726, allocations: 36.34 kB / 1.226 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.3728, allocations: 145.4 kB / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3728, allocations: 192 / 1.226 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.3728, allocations: 11.94 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3728, allocations: 4 kB / 1.226 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.373, allocations: 83.89 kB / 1.226 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.3738, allocations: 0.7109 MB / 1.227 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.374, allocations: 159.7 kB / 1.227 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.416e-05/0.374, allocations: 48.77 kB / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.3741, allocations: 192 / 1.227 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.3743, allocations: 159.2 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.3743, allocations: 0 / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004389/0.3748, allocations: 247.2 kB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3748, allocations: 55.39 kB / 1.228 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.375, allocations: 182.3 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.333e-05/0.375, allocations: 41.7 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.3751, allocations: 124.6 kB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.3752, allocations: 55.62 kB / 1.228 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001949/0.3754, allocations: 113.6 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3755, allocations: 330.8 kB / 1.228 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003189/0.3758, allocations: 152 kB / 1.228 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003801/0.3762, allocations: 246 kB / 1.229 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004668/0.3767, allocations: 404.3 kB / 1.229 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3767, allocations: 4 kB / 1.229 GB, free: 4.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009507/0.3776, allocations: 0.6258 MB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/0.3777, allocations: 164.5 kB / 1.23 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3777, allocations: 7.938 kB / 1.23 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3777, allocations: 4 kB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.425e-05/0.3778, allocations: 15.92 kB / 1.23 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3778, allocations: 4 kB / 1.23 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006848/0.3785, allocations: 140.1 kB / 1.23 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.3785, allocations: 35.97 kB / 1.23 GB, free: 3.684 MB / 0.9825 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.0001517/0.3787, allocations: 163.5 kB / 1.23 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.3787, allocations: 11.91 kB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.3788, allocations: 21.81 kB / 1.23 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3788, allocations: 4 kB / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3788, allocations: 0 / 1.23 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3788, allocations: 3.984 kB / 1.23 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.3793, allocations: 0.5061 MB / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3793, allocations: 0 / 1.231 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.919e-05/0.3793, allocations: 8 kB / 1.231 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3793, allocations: 3.938 kB / 1.231 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3793, allocations: 11.98 kB / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3793, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3793, allocations: 0 / 1.231 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3796, allocations: 288.8 kB / 1.231 GB, free: 2.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.3796, allocations: 92.95 kB / 1.231 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.3797, allocations: 4 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.679e-05/0.3797, allocations: 8 kB / 1.231 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.3798, allocations: 23.92 kB / 1.231 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.3798, allocations: 12 kB / 1.231 GB, free: 2.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.535e-05/0.3799, allocations: 124.2 kB / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3799, allocations: 0 / 1.231 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003659/0.3802, allocations: 72 kB / 1.231 GB, free: 2.242 MB / 0.9825 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.0001743/0.3804, allocations: 120.3 kB / 1.231 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007081/0.3811, allocations: 0.5559 MB / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3811, allocations: 0 / 1.232 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.714e-05/0.3812, allocations: 63.91 kB / 1.232 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.3816, allocations: 52.52 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.3821, allocations: 328 kB / 1.232 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.3824, allocations: 0.7281 MB / 1.233 GB, free: 296 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.046e-05/0.3825, allocations: 25.53 kB / 1.233 GB, free: 268 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.356e-05/0.3825, allocations: 23.44 kB / 1.233 GB, free: 244 kB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3825, allocations: 0 / 1.233 GB, free: 244 kB / 0.9825 GB Notification: Performance of Templates: time 0.007498/0.39, allocations: 4.571 MB / 1.238 GB, free: 11.73 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches