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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.01039/0.01039, allocations: 103.3 kB / 15.73 MB, free: 6.055 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.001957/0.001957, allocations: 198.1 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.6/2.6, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.045/4.045, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.91 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615/1.617, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.003808/1.621, allocations: 0.8362 MB / 1.088 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003125/1.624, allocations: 1.483 MB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/1.624, allocations: 2.062 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/1.624, allocations: 19.83 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/1.624, allocations: 31.22 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002675/1.627, allocations: 0.5174 MB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001253/1.628, allocations: 0.4973 MB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/1.629, allocations: 44.17 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/1.629, allocations: 180.5 kB / 1.091 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004626/1.63, allocations: 177 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001474/1.63, allocations: 40.62 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/1.63, allocations: 54.53 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/1.63, allocations: 42.17 kB / 1.091 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/1.63, allocations: 162.5 kB / 1.091 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009209/1.631, allocations: 414 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.016e-06/1.631, allocations: 5.625 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.474e-06/1.631, allocations: 0 / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.631, allocations: 0 / 1.092 GB, free: 2.754 MB / 0.8575 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.001209/1.633, allocations: 0.6406 MB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/1.633, allocations: 10.06 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.782e-05/1.633, allocations: 45.8 kB / 1.093 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/1.633, allocations: 38 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/1.634, allocations: 264.6 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.28e-05/1.634, allocations: 18.83 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/1.634, allocations: 30.33 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/1.634, allocations: 151.9 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/1.634, allocations: 3.938 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/1.634, allocations: 6.5 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/1.634, allocations: 2.938 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/1.635, allocations: 81.52 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/1.636, allocations: 0.7071 MB / 1.094 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/1.637, allocations: 171.8 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/1.637, allocations: 44.14 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/1.637, allocations: 0.75 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/1.637, allocations: 159 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 3.206e-06/1.637, allocations: 0 / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0008843/1.638, allocations: 242.2 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/1.638, allocations: 55.92 kB / 1.094 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/1.639, allocations: 183.3 kB / 1.095 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.803e-05/1.639, allocations: 39.08 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/1.639, allocations: 132.1 kB / 1.095 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/1.639, allocations: 37.45 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003049/1.639, allocations: 115.5 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.639, allocations: 328.3 kB / 1.095 GB, free: 188 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004927/1.64, allocations: 157.7 kB / 1.095 GB, free: 136 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000644/1.641, allocations: 239.1 kB / 1.096 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000832/1.641, allocations: 413.3 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.641, allocations: 0.6875 kB / 1.096 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001652/1.643, allocations: 0.6211 MB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002287/1.643, allocations: 169.8 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.643, allocations: 2.906 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.431e-05/1.643, allocations: 4.375 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.883e-05/1.644, allocations: 11.69 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/1.644, allocations: 12.38 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/1.645, allocations: 136.5 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.865e-05/1.645, allocations: 33.28 kB / 1.097 GB, free: 15.09 MB / 0.8731 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.000337/1.645, allocations: 152.8 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.473e-05/1.645, allocations: 24.83 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.357e-05/1.645, allocations: 17.75 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.645, allocations: 3.031 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.645, allocations: 0 / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/1.645, allocations: 1.5 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/1.646, allocations: 0.5163 MB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.646, allocations: 5.422 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.124e-05/1.646, allocations: 8.859 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/1.646, allocations: 0.9062 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/1.646, allocations: 8.328 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/1.646, allocations: 0.8438 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.646, allocations: 0.7031 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/1.647, allocations: 286.1 kB / 1.098 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.525e-05/1.647, allocations: 89.78 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/1.647, allocations: 2.859 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/1.647, allocations: 7.422 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.647, allocations: 22.44 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/1.647, allocations: 11.44 kB / 1.098 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001763/1.648, allocations: 119.7 kB / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/1.648, allocations: 0 / 1.098 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006411/1.648, allocations: 82.36 kB / 1.098 GB, free: 14.12 MB / 0.8731 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.001087/1.649, allocations: 0.8431 MB / 1.099 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001248/1.651, allocations: 0.6098 MB / 1.1 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.651, allocations: 1.188 kB / 1.1 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/1.651, allocations: 81.03 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/1.651, allocations: 55.39 kB / 1.1 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006109/1.657, allocations: 2.996 MB / 1.103 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/1.658, allocations: 0.7319 MB / 1.103 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001822/1.658, allocations: 21.97 kB / 1.104 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/1.658, allocations: 59.45 kB / 1.104 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of SimCode: time 1.092e-06/1.658, allocations: 0.5625 kB / 1.104 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03934/1.698, allocations: 6.375 MB / 1.11 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/13.97, allocations: 3.844 kB / 1.11 GB, free: 9.305 MB / 0.8731 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