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.001558/0.001558, allocations: 108 kB / 15.61 MB, free: 152 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.002284/0.002284, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.367/1.367, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.2 MB / 0.6647 GB, free: 448 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 71.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7543, allocations: 140.4 MB / 0.9497 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002154/0.7565, allocations: 0.8345 MB / 0.9506 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.7581, allocations: 1.475 MB / 0.952 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.943e-05/0.7582, allocations: 5.625 kB / 0.952 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/0.7583, allocations: 17.3 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.411e-05/0.7584, allocations: 35.2 kB / 0.952 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.7597, allocations: 0.5066 MB / 0.9525 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005995/0.7603, allocations: 0.4937 MB / 0.953 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.7605, allocations: 40.58 kB / 0.9531 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.7607, allocations: 180.1 kB / 0.9532 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.7609, allocations: 147.1 kB / 0.9534 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001315/0.761, allocations: 40.97 kB / 0.9534 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.7612, allocations: 59.89 kB / 0.9535 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.84e-05/0.7613, allocations: 46.67 kB / 0.9535 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002498/0.7616, allocations: 157.8 kB / 0.9537 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005658/0.7622, allocations: 409.6 kB / 0.9541 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.7622, allocations: 4.922 kB / 0.9541 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7622, allocations: 0 / 0.9541 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.7622, allocations: 0 / 0.9541 GB, free: 6.008 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.0009077/0.7631, allocations: 0.635 MB / 0.9547 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.7632, allocations: 17.84 kB / 0.9547 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.7633, allocations: 46.92 kB / 0.9547 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.7634, allocations: 31.72 kB / 0.9548 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003239/0.7637, allocations: 256.3 kB / 0.955 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.7638, allocations: 24.27 kB / 0.955 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.721e-05/0.7638, allocations: 29.97 kB / 0.9551 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.7641, allocations: 153.8 kB / 0.9552 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.7641, allocations: 3.938 kB / 0.9552 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/0.7642, allocations: 17.39 kB / 0.9552 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.7642, allocations: 2.75 kB / 0.9552 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001446/0.7643, allocations: 84.5 kB / 0.9553 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008362/0.7652, allocations: 0.7046 MB / 0.956 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.7654, allocations: 171 kB / 0.9562 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.895e-05/0.7655, allocations: 42.31 kB / 0.9562 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.7655, allocations: 5.344 kB / 0.9562 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.7658, allocations: 161.6 kB / 0.9564 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.7658, allocations: 1.344 kB / 0.9564 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0004963/0.7663, allocations: 245.2 kB / 0.9566 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.7663, allocations: 55.16 kB / 0.9567 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.7665, allocations: 189.5 kB / 0.9568 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.7665, allocations: 39.86 kB / 0.9569 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.7666, allocations: 127.1 kB / 0.957 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.197e-05/0.7667, allocations: 40.31 kB / 0.957 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.7669, allocations: 116.5 kB / 0.9571 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.886e-05/0.7669, allocations: 327.9 kB / 0.9575 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.7673, allocations: 157.1 kB / 0.9576 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.7676, allocations: 237.6 kB / 0.9578 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000432/0.7681, allocations: 405.6 kB / 0.9582 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.7681, allocations: 0 / 0.9582 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001158/0.7692, allocations: 0.6237 MB / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.7694, allocations: 173.1 kB / 0.959 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.7694, allocations: 2.25 kB / 0.959 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/0.7695, allocations: 4.281 kB / 0.959 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.703e-05/0.7695, allocations: 9.25 kB / 0.959 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.7695, allocations: 4.188 kB / 0.959 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009936/0.7705, allocations: 147.3 kB / 0.9592 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/0.7706, allocations: 35.47 kB / 0.9592 GB, free: 1.754 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.0002365/0.7709, allocations: 160.8 kB / 0.9593 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.15e-05/0.7709, allocations: 19.25 kB / 0.9594 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/0.771, allocations: 21.55 kB / 0.9594 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.771, allocations: 2.219 kB / 0.9594 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.771, allocations: 4 kB / 0.9594 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.771, allocations: 5.125 kB / 0.9594 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.7717, allocations: 0.5051 MB / 0.9599 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7717, allocations: 1.312 kB / 0.9599 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.7718, allocations: 15.33 kB / 0.9599 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.7718, allocations: 0.9062 kB / 0.9599 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.7718, allocations: 2.188 kB / 0.9599 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.7718, allocations: 1.094 kB / 0.9599 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.7718, allocations: 0 / 0.9599 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.7722, allocations: 289.5 kB / 0.9602 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.7723, allocations: 90.14 kB / 0.9603 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.7723, allocations: 5.375 kB / 0.9603 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.7724, allocations: 9.266 kB / 0.9603 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.667e-05/0.7725, allocations: 16.23 kB / 0.9603 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.7725, allocations: 14.2 kB / 0.9603 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001121/0.7726, allocations: 118.2 kB / 0.9604 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7727, allocations: 0 / 0.9604 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005156/0.7732, allocations: 81.31 kB / 0.9605 GB, free: 0.6953 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.0007901/0.774, allocations: 0.8321 MB / 0.9613 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001067/0.7751, allocations: 0.6275 MB / 0.9619 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7751, allocations: 0 / 0.9619 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.7752, allocations: 74.03 kB / 0.962 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.7758, allocations: 55.61 kB / 0.9621 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004235/0.78, allocations: 2.998 MB / 0.965 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.7804, allocations: 0.7279 MB / 0.9657 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.7805, allocations: 24.12 kB / 0.9657 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.082e-05/0.7806, allocations: 58.28 kB / 0.9658 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of SimCode: time 8.52e-07/0.7806, allocations: 0 / 0.9658 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02781/0.8084, allocations: 6.32 MB / 0.9719 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/8.503, allocations: 11.86 kB / 0.972 GB, free: 9.074 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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