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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009734/0.0009735, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.009976/0.009976, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.525/2.525, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005157, allocations: 16 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6266/0.6272, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.001033/0.6283, allocations: 0.5512 MB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.6305, allocations: 1.534 MB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.549e-05/0.6306, allocations: 3.938 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.6307, allocations: 11.92 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.6308, allocations: 19.8 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.6322, allocations: 0.4893 MB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004887/0.6327, allocations: 419.2 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.6329, allocations: 41.47 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.6332, allocations: 163.7 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.6334, allocations: 123.6 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.243e-05/0.6335, allocations: 31.98 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.6336, allocations: 39.92 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.6336, allocations: 27.92 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.6338, allocations: 165.2 kB / 1.027 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.6343, allocations: 385.1 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6343, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6343, allocations: 0 / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.6343, allocations: 0 / 1.027 GB, free: 11.84 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.000713/0.635, allocations: 0.5812 MB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.6351, allocations: 12.03 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.6352, allocations: 46.73 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.6353, allocations: 28.75 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.6356, allocations: 267.9 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.6356, allocations: 16.38 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.6357, allocations: 32.38 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.6359, allocations: 153.2 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.636, allocations: 3.938 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.636, allocations: 3.984 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.636, allocations: 4 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.6362, allocations: 87.89 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.6374, allocations: 0.7071 MB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.6377, allocations: 167.7 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.092e-05/0.6378, allocations: 48.83 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.6378, allocations: 192 / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/0.6381, allocations: 155.1 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.6382, allocations: 96 / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004724/0.6386, allocations: 250.7 kB / 1.03 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.6387, allocations: 55.41 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.6389, allocations: 183.2 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.639, allocations: 37.7 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.6391, allocations: 132.4 kB / 1.03 GB, free: 8.625 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.6392, allocations: 39.59 kB / 1.03 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.6393, allocations: 45.7 kB / 1.03 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.6395, allocations: 334.8 kB / 1.03 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.6398, allocations: 155.9 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.6402, allocations: 234.9 kB / 1.031 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.6408, allocations: 409.9 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.6408, allocations: 0 / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001148/0.6419, allocations: 0.6227 MB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/0.6421, allocations: 170.3 kB / 1.032 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.6421, allocations: 4 kB / 1.032 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.6422, allocations: 4 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.749e-05/0.6422, allocations: 11.92 kB / 1.032 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.6422, allocations: 7.938 kB / 1.032 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009951/0.6432, allocations: 197.9 kB / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-05/0.6433, allocations: 39.97 kB / 1.032 GB, free: 6.203 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.0002451/0.6436, allocations: 151.6 kB / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.6436, allocations: 19.75 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.6437, allocations: 17.88 kB / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6437, allocations: 0 / 1.032 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.6437, allocations: 4 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.6437, allocations: 3.984 kB / 1.032 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006028/0.6443, allocations: 0.5151 MB / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.6443, allocations: 0 / 1.033 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.027e-05/0.6444, allocations: 4 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.86e-06/0.6444, allocations: 3.984 kB / 1.033 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.6444, allocations: 7.984 kB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6444, allocations: 4 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6444, allocations: 0 / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/0.6447, allocations: 293.1 kB / 1.033 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.6448, allocations: 92.92 kB / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.6448, allocations: 0 / 1.033 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.035e-05/0.6449, allocations: 8 kB / 1.033 GB, free: 5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.645, allocations: 19.97 kB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.645, allocations: 4 kB / 1.033 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.333e-05/0.6451, allocations: 128.7 kB / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6451, allocations: 0 / 1.033 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003777/0.6455, allocations: 83.94 kB / 1.033 GB, free: 4.77 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.0007628/0.6463, allocations: 0.8278 MB / 1.034 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007616/0.647, allocations: 0.6145 MB / 1.035 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.647, allocations: 128 / 1.035 GB, free: 3.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.6472, allocations: 89.61 kB / 1.035 GB, free: 3.152 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.6476, allocations: 35.97 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.6515, allocations: 3.035 MB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.6519, allocations: 0.7284 MB / 1.039 GB, free: 15.15 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.308e-05/0.6519, allocations: 21.55 kB / 1.039 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.652, allocations: 59.41 kB / 1.039 GB, free: 15.07 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.652, allocations: 4 kB / 1.039 GB, free: 15.07 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.6698, allocations: 5.916 MB / 1.044 GB, free: 9.344 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.67, allocations: 203.5 kB / 1.045 GB, free: 9.086 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.524, allocations: 4 kB / 1.045 GB, free: 9.082 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