Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_9_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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001145/0.001145, allocations: 195.1 kB / 16.14 MB, free: 6.645 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.375/2.375, allocations: 390.2 MB / 0.6643 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001406, allocations: 67.89 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6701/0.6715, allocations: 140.4 MB / 0.9491 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002362/0.6739, allocations: 0.8855 MB / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.6759, allocations: 1.537 MB / 0.9514 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.6761, allocations: 1.5 kB / 0.9514 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.6762, allocations: 11.86 kB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.6763, allocations: 32.86 kB / 0.9515 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.6775, allocations: 486.7 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005233/0.678, allocations: 421.7 kB / 0.9523 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.6782, allocations: 43.19 kB / 0.9524 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.6785, allocations: 159 kB / 0.9525 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.6787, allocations: 135.7 kB / 0.9527 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.6789, allocations: 23.84 kB / 0.9527 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.6791, allocations: 41.45 kB / 0.9527 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.6791, allocations: 38.94 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.6793, allocations: 148.5 kB / 0.9529 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004329/0.6798, allocations: 394.6 kB / 0.9533 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.6798, allocations: 0 / 0.9533 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6798, allocations: 1.469 kB / 0.9533 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.66e-05/0.6798, allocations: 0 / 0.9533 GB, free: 6.141 MB / 0.7169 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.001487/0.6813, allocations: 0.6388 MB / 0.9539 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.156e-05/0.6814, allocations: 13.89 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.596e-05/0.6815, allocations: 46.88 kB / 0.954 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002178/0.6817, allocations: 35.83 kB / 0.954 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005057/0.6822, allocations: 255.5 kB / 0.9542 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.6823, allocations: 20.88 kB / 0.9543 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.6824, allocations: 28.94 kB / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003359/0.6828, allocations: 155.1 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6828, allocations: 3.938 kB / 0.9544 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.6828, allocations: 9.391 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.6828, allocations: 7.094 kB / 0.9545 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.683, allocations: 83.83 kB / 0.9545 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.6841, allocations: 0.7128 MB / 0.9552 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.6843, allocations: 178.7 kB / 0.9554 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.066e-05/0.6844, allocations: 41.59 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.6845, allocations: 1.188 kB / 0.9554 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.6849, allocations: 157 kB / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.824e-06/0.6849, allocations: 0 / 0.9556 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0006125/0.6855, allocations: 246.9 kB / 0.9558 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.6856, allocations: 60.16 kB / 0.9559 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.6858, allocations: 181.2 kB / 0.9561 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/0.6859, allocations: 43.12 kB / 0.9561 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.686, allocations: 127.4 kB / 0.9562 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.6861, allocations: 39.36 kB / 0.9563 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.6864, allocations: 117.4 kB / 0.9564 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.6865, allocations: 330.9 kB / 0.9567 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.6869, allocations: 153 kB / 0.9568 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004306/0.6874, allocations: 242 kB / 0.9571 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005347/0.6879, allocations: 405.2 kB / 0.9574 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.6879, allocations: 0 / 0.9574 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001344/0.6893, allocations: 0.6236 MB / 0.9581 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.6894, allocations: 166.5 kB / 0.9582 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6894, allocations: 3.25 kB / 0.9582 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.6894, allocations: 4.156 kB / 0.9582 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.062e-05/0.6895, allocations: 13.91 kB / 0.9582 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.6895, allocations: 7.297 kB / 0.9582 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008623/0.6904, allocations: 148 kB / 0.9584 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.6904, allocations: 30.11 kB / 0.9584 GB, free: 1.883 MB / 0.7169 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.0001853/0.6906, allocations: 154.5 kB / 0.9586 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.6907, allocations: 26.89 kB / 0.9586 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.675e-05/0.6907, allocations: 21.09 kB / 0.9586 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.6907, allocations: 2.156 kB / 0.9586 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.6908, allocations: 0 / 0.9586 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.6908, allocations: 1.219 kB / 0.9586 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005119/0.6913, allocations: 0.5111 MB / 0.9591 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.6913, allocations: 1.125 kB / 0.9591 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.6913, allocations: 15.19 kB / 0.9591 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.6913, allocations: 1.062 kB / 0.9591 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.6913, allocations: 10.22 kB / 0.9591 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.6914, allocations: 5.047 kB / 0.9591 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6914, allocations: 0 / 0.9591 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.6916, allocations: 282.8 kB / 0.9594 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.6917, allocations: 89.3 kB / 0.9595 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.6917, allocations: 5.141 kB / 0.9595 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.583e-05/0.6918, allocations: 10.16 kB / 0.9595 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.6919, allocations: 19.44 kB / 0.9595 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.6919, allocations: 10.84 kB / 0.9595 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.643e-05/0.692, allocations: 123.2 kB / 0.9597 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.01e-07/0.692, allocations: 0 / 0.9597 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003952/0.6924, allocations: 89.33 kB / 0.9597 GB, free: 0.8125 MB / 0.7169 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.0004933/0.6929, allocations: 0.8271 MB / 0.9605 GB, free: 76 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009138/0.6938, allocations: 0.6112 MB / 0.9611 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.6938, allocations: 0 / 0.9611 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.6939, allocations: 75.03 kB / 0.9612 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.6944, allocations: 48.05 kB / 0.9613 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.6986, allocations: 3.027 MB / 0.9642 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.699, allocations: 0.7285 MB / 0.9649 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.02e-05/0.699, allocations: 24.38 kB / 0.965 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.6991, allocations: 53.55 kB / 0.965 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of SimCode: time 5.11e-07/0.6991, allocations: 1.031 kB / 0.965 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.7213, allocations: 5.986 MB / 0.9709 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.7216, allocations: 207.7 kB / 0.971 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/2.69, allocations: 1.688 kB / 0.971 GB, free: 9.168 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches