Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001151, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.89 kB / 0.8689 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6533/0.6545, allocations: 151.6 MB / 1.017 GB, free: 2.648 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.00187/0.6564, allocations: 0.89 MB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.658, allocations: 1.479 MB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.303e-05/0.658, allocations: 3.938 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.6582, allocations: 15.92 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.6582, allocations: 23.77 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.6592, allocations: 495.5 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004232/0.6597, allocations: 499.2 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.6598, allocations: 49.45 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.66, allocations: 179.7 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.6601, allocations: 143.6 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.6602, allocations: 40 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.561e-05/0.6603, allocations: 63.92 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.6603, allocations: 39.91 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.6605, allocations: 163.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003294/0.6608, allocations: 409.1 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.6608, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6608, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6608, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 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.0006368/0.6615, allocations: 0.6515 MB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.6615, allocations: 8.031 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.6616, allocations: 50.61 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.101e-05/0.6616, allocations: 32.66 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.6619, allocations: 260 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.6619, allocations: 16.38 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.368e-05/0.662, allocations: 36.36 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.6622, allocations: 157.4 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.6622, allocations: 3.938 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6623, allocations: 3.984 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.6623, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.6624, allocations: 85.31 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.6631, allocations: 0.7071 MB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.6633, allocations: 167.7 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.6634, allocations: 44.83 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.6634, allocations: 12.12 kB / 1.023 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/0.6636, allocations: 157.1 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.6636, allocations: 0 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0003985/0.664, allocations: 245.2 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.664, allocations: 59.39 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.6642, allocations: 183.2 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-05/0.6642, allocations: 37.7 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.244e-05/0.6643, allocations: 124.5 kB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.889e-05/0.6644, allocations: 39.5 kB / 1.024 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.6645, allocations: 113.6 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.447e-05/0.6646, allocations: 330.8 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002712/0.6649, allocations: 155.9 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.6652, allocations: 238.2 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.6656, allocations: 406.5 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6656, allocations: 4 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000853/0.6665, allocations: 0.6186 MB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.794e-05/0.6666, allocations: 172.4 kB / 1.026 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6666, allocations: 4 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.829e-06/0.6666, allocations: 4 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.877e-05/0.6667, allocations: 12.27 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.6667, allocations: 8 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.6674, allocations: 143.6 kB / 1.026 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.804e-05/0.6675, allocations: 39.97 kB / 1.026 GB, free: 8.469 MB / 0.7794 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.0001512/0.6676, allocations: 155.6 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.6677, allocations: 19.75 kB / 1.027 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.6677, allocations: 17.88 kB / 1.027 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.6677, allocations: 4 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6677, allocations: 0 / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6677, allocations: 3.984 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.6682, allocations: 0.5117 MB / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.6682, allocations: 0 / 1.027 GB, free: 7.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.894e-05/0.6682, allocations: 4 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.6682, allocations: 0 / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.6683, allocations: 7.984 kB / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6683, allocations: 0 / 1.027 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.6683, allocations: 3.938 kB / 1.027 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.6685, allocations: 284.4 kB / 1.027 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.6686, allocations: 92.91 kB / 1.027 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.6686, allocations: 8 kB / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.6687, allocations: 4 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.6687, allocations: 23.97 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.6687, allocations: 8 kB / 1.028 GB, free: 7.242 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.6688, allocations: 120.8 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6688, allocations: 0 / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003217/0.6691, allocations: 87.83 kB / 1.028 GB, free: 7.039 MB / 0.7794 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.0005338/0.6697, allocations: 0.8287 MB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006584/0.6703, allocations: 0.6363 MB / 1.029 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6704, allocations: 4.125 kB / 1.029 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.86e-05/0.6705, allocations: 75.91 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.6708, allocations: 43.91 kB / 1.029 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003178/0.674, allocations: 3.032 MB / 1.032 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.6742, allocations: 0.7245 MB / 1.033 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.749e-05/0.6743, allocations: 25.53 kB / 1.033 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.6744, allocations: 55.42 kB / 1.033 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6744, allocations: 0 / 1.033 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.322/1.997, allocations: 6.212 MB / 1.039 GB, free: 11.29 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.997, allocations: 206.4 kB / 1.039 GB, free: 11.03 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/3.847, allocations: 11.38 kB / 1.039 GB, free: 11.02 MB / 0.795 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches