Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_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.00121/0.00121, allocations: 108 kB / 15.6 MB, free: 132 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.001319/0.001319, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.673/2.673, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001688, allocations: 68.02 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3715, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002449/0.374, allocations: 0.8356 MB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.3763, allocations: 1.486 MB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.3765, allocations: 8 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.3767, allocations: 15.8 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.3768, allocations: 35.7 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.3783, allocations: 0.5126 MB / 1.056 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007267/0.379, allocations: 499.2 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.3792, allocations: 45.41 kB / 1.056 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003365/0.3795, allocations: 183.7 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.3798, allocations: 147.6 kB / 1.057 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.3799, allocations: 44 kB / 1.057 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001752/0.3801, allocations: 55.92 kB / 1.057 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.3802, allocations: 35.92 kB / 1.057 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3804, allocations: 167.5 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006235/0.3811, allocations: 407.2 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3811, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3811, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.3811, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 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.001139/0.3823, allocations: 0.657 MB / 1.058 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.3823, allocations: 8.625 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.628e-05/0.3824, allocations: 42.73 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.3826, allocations: 28.75 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.3829, allocations: 252.1 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.383, allocations: 24.36 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.483e-05/0.3831, allocations: 36.36 kB / 1.058 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.3834, allocations: 149.2 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3834, allocations: 3.938 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.3834, allocations: 8 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3834, allocations: 4 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001552/0.3836, allocations: 87.88 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009919/0.3846, allocations: 0.707 MB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.3848, allocations: 175.6 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.208e-05/0.3849, allocations: 40.84 kB / 1.059 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3849, allocations: 4 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003367/0.3853, allocations: 159.3 kB / 1.06 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.3853, allocations: 0 / 1.06 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.0005115/0.3858, allocations: 243 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.3859, allocations: 63.33 kB / 1.06 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.3861, allocations: 180 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.888e-05/0.3861, allocations: 37.7 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.3863, allocations: 128.4 kB / 1.06 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.344e-05/0.3863, allocations: 43.53 kB / 1.06 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.3866, allocations: 109.6 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3867, allocations: 330.8 kB / 1.061 GB, free: 68 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.3871, allocations: 159.9 kB / 1.061 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.3874, allocations: 242.8 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.388, allocations: 414.2 kB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.388, allocations: 3.938 kB / 1.061 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001016/0.389, allocations: 0.6147 MB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.3891, allocations: 168.4 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.3891, allocations: 4 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.3892, allocations: 7.984 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.739e-05/0.3892, allocations: 7.938 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.3892, allocations: 4 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/0.3901, allocations: 140 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.358e-05/0.3902, allocations: 35.97 kB / 1.062 GB, free: 14.12 MB / 0.8262 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.0002263/0.3904, allocations: 159 kB / 1.063 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.3905, allocations: 23.75 kB / 1.063 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.745e-05/0.3905, allocations: 17.88 kB / 1.063 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3905, allocations: 7.984 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3905, allocations: 0 / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3905, allocations: 0 / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005873/0.3911, allocations: 0.5079 MB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3912, allocations: 0 / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.3912, allocations: 15.98 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3912, allocations: 0 / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3912, allocations: 4 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3912, allocations: 0 / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3912, allocations: 64 / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.3915, allocations: 291.1 kB / 1.063 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.3916, allocations: 92.86 kB / 1.063 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.3916, allocations: 8 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.487e-05/0.3917, allocations: 7.984 kB / 1.063 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.3918, allocations: 15.98 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3918, allocations: 12 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.896e-05/0.3919, allocations: 119.2 kB / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3919, allocations: 0 / 1.064 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003697/0.3922, allocations: 76 kB / 1.064 GB, free: 12.68 MB / 0.8262 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.000646/0.3929, allocations: 0.8309 MB / 1.064 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008086/0.3937, allocations: 0.6295 MB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3937, allocations: 4 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.3939, allocations: 72.59 kB / 1.065 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.3943, allocations: 54.64 kB / 1.065 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.3982, allocations: 2.976 MB / 1.068 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.3986, allocations: 0.7281 MB / 1.069 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.575e-05/0.3987, allocations: 29.47 kB / 1.069 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.3988, allocations: 55.41 kB / 1.069 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3988, allocations: 0 / 1.069 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.4264, allocations: 6.327 MB / 1.075 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.359/7.786, allocations: 13.78 kB / 1.075 GB, free: 0.8125 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches