Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.000981/0.000981, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007741/0.007741, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.339/2.339, allocations: 390.9 MB / 0.6664 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 8 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7664/0.7668, allocations: 142.4 MB / 0.9552 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.0006649/0.7675, allocations: 386.9 kB / 0.9556 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.7689, allocations: 1.197 MB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.734e-05/0.7689, allocations: 0 / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.769, allocations: 1.375 kB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.769, allocations: 13.33 kB / 0.9567 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.7696, allocations: 203.5 kB / 0.9569 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.7698, allocations: 145 kB / 0.9571 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.506e-05/0.7699, allocations: 8.281 kB / 0.9571 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.375e-05/0.77, allocations: 67.66 kB / 0.9572 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.995e-05/0.7701, allocations: 44.84 kB / 0.9572 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.7701, allocations: 7.969 kB / 0.9572 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.797e-05/0.7702, allocations: 22.64 kB / 0.9572 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.7702, allocations: 11.64 kB / 0.9572 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.7703, allocations: 79.44 kB / 0.9573 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.7705, allocations: 145.3 kB / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7705, allocations: 0 / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7705, allocations: 0 / 0.9574 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.7705, allocations: 0 / 0.9574 GB, free: 5.902 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003609/0.7709, allocations: 409.3 kB / 0.9578 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.7709, allocations: 10.06 kB / 0.9578 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.308e-05/0.771, allocations: 32.12 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.173e-05/0.771, allocations: 8.938 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.198e-05/0.7711, allocations: 181.2 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.7711, allocations: 5.094 kB / 0.9581 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.7712, allocations: 13.25 kB / 0.9581 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.463e-05/0.7713, allocations: 44.56 kB / 0.9581 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7713, allocations: 3.938 kB / 0.9581 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.7713, allocations: 7.922 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.7713, allocations: 1.188 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.85e-05/0.7714, allocations: 11.75 kB / 0.9581 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.7718, allocations: 358.7 kB / 0.9585 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.053e-05/0.7719, allocations: 32.66 kB / 0.9585 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.75e-05/0.7719, allocations: 18.22 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.7719, allocations: 1.062 kB / 0.9585 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.772, allocations: 84.33 kB / 0.9586 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.7721, allocations: 4 kB / 0.9586 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002371/0.7723, allocations: 103.5 kB / 0.9587 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.7723, allocations: 57.27 kB / 0.9588 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.7724, allocations: 118.5 kB / 0.9589 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.7725, allocations: 34.36 kB / 0.9589 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.7725, allocations: 88.83 kB / 0.959 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.7725, allocations: 18.88 kB / 0.959 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.7726, allocations: 21.34 kB / 0.959 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.259e-05/0.7726, allocations: 328.5 kB / 0.9594 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.7727, allocations: 59.41 kB / 0.9594 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.7729, allocations: 99.47 kB / 0.9595 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.773, allocations: 155.9 kB / 0.9597 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.773, allocations: 0 / 0.9597 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003468/0.7734, allocations: 258.6 kB / 0.9599 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.7734, allocations: 68.33 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.7734, allocations: 1.875 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.7734, allocations: 1.75 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.696e-05/0.7735, allocations: 1.781 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.7735, allocations: 1.781 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.7739, allocations: 88.02 kB / 0.9601 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.087e-05/0.7739, allocations: 16.23 kB / 0.9601 GB, free: 3.395 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.621e-05/0.774, allocations: 127.9 kB / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.774, allocations: 6.656 kB / 0.9602 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.774, allocations: 9.75 kB / 0.9602 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.774, allocations: 1.375 kB / 0.9602 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.7741, allocations: 0 / 0.9602 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.7741, allocations: 1.375 kB / 0.9602 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.984e-05/0.7741, allocations: 180.5 kB / 0.9604 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7742, allocations: 4.062 kB / 0.9604 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.876e-06/0.7742, allocations: 5.375 kB / 0.9604 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.7742, allocations: 1.375 kB / 0.9604 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.7742, allocations: 5.375 kB / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.7742, allocations: 0 / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7742, allocations: 0 / 0.9604 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.7743, allocations: 113 kB / 0.9605 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.7744, allocations: 82.48 kB / 0.9606 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.7744, allocations: 17.3 kB / 0.9606 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.99e-05/0.7744, allocations: 1.375 kB / 0.9606 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.7744, allocations: 2.75 kB / 0.9606 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.7745, allocations: 6.734 kB / 0.9606 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.7745, allocations: 86.16 kB / 0.9607 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7745, allocations: 1.375 kB / 0.9607 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002362/0.7747, allocations: 30.12 kB / 0.9607 GB, free: 2.738 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003345/0.7751, allocations: 0.6582 MB / 0.9614 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.7754, allocations: 244.9 kB / 0.9616 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.7754, allocations: 0 / 0.9616 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.7754, allocations: 24.48 kB / 0.9616 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.7757, allocations: 16.48 kB / 0.9616 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.7771, allocations: 1.727 MB / 0.9633 GB, free: 376 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.7773, allocations: 0.6837 MB / 0.964 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.7774, allocations: 12.48 kB / 0.964 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.7774, allocations: 18.44 kB / 0.964 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7774, allocations: 1 kB / 0.964 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0131/0.7905, allocations: 2.605 MB / 0.9666 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.7907, allocations: 198.2 kB / 0.9668 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.601, allocations: 1.594 kB / 0.9668 GB, free: 14.12 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches