Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.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.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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.0009792/0.0009795, allocations: 90.52 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.006427/0.006427, allocations: 171.1 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.312 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.292/2.292, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003502, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8016/0.802, allocations: 142.4 MB / 0.9552 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.0007932/0.8028, allocations: 438.9 kB / 0.9556 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.8044, allocations: 1.289 MB / 0.9569 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.581e-05/0.8045, allocations: 0 / 0.9569 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.744e-05/0.8045, allocations: 5.031 kB / 0.9569 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.747e-05/0.8046, allocations: 13.25 kB / 0.9569 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007674/0.8054, allocations: 287.3 kB / 0.9571 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.8056, allocations: 227.3 kB / 0.9574 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.8057, allocations: 15.67 kB / 0.9574 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.8058, allocations: 86.61 kB / 0.9575 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.808e-05/0.8059, allocations: 71.42 kB / 0.9575 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.517e-05/0.8059, allocations: 11.69 kB / 0.9575 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.806, allocations: 27.3 kB / 0.9576 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.806, allocations: 12.34 kB / 0.9576 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/0.8061, allocations: 100.8 kB / 0.9577 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.8063, allocations: 203.7 kB / 0.9579 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.8064, allocations: 0 / 0.9579 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8064, allocations: 0 / 0.9579 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.8064, allocations: 1.094 kB / 0.9579 GB, free: 5.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003831/0.8068, allocations: 459.7 kB / 0.9583 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.8068, allocations: 10.19 kB / 0.9583 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.307e-05/0.8068, allocations: 42.67 kB / 0.9584 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/0.8069, allocations: 16.38 kB / 0.9584 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.791e-05/0.807, allocations: 180.1 kB / 0.9585 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.807, allocations: 6.094 kB / 0.9586 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.8071, allocations: 22.89 kB / 0.9586 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.8072, allocations: 55.14 kB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.8072, allocations: 0 / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.8072, allocations: 4 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8072, allocations: 1.469 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.8073, allocations: 22.61 kB / 0.9587 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.8077, allocations: 418.8 kB / 0.9591 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.799e-05/0.8078, allocations: 31.09 kB / 0.9591 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.001e-05/0.8078, allocations: 20.92 kB / 0.9591 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.194e-06/0.8078, allocations: 5.234 kB / 0.9591 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.8079, allocations: 109.9 kB / 0.9592 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.808, allocations: 3.938 kB / 0.9592 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.000239/0.8082, allocations: 136.5 kB / 0.9593 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.8082, allocations: 58.16 kB / 0.9594 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.8083, allocations: 135.5 kB / 0.9595 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.8083, allocations: 39.19 kB / 0.9596 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.8084, allocations: 91.02 kB / 0.9597 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.8084, allocations: 19.84 kB / 0.9597 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.8085, allocations: 32.7 kB / 0.9597 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.157e-05/0.8085, allocations: 328.1 kB / 0.96 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.8087, allocations: 86.7 kB / 0.9601 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.8089, allocations: 137.8 kB / 0.9602 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.8091, allocations: 241.1 kB / 0.9605 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8091, allocations: 1.375 kB / 0.9605 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000474/0.8096, allocations: 364.5 kB / 0.9608 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.8096, allocations: 103.8 kB / 0.9609 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8096, allocations: 6.625 kB / 0.9609 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.8096, allocations: 1.375 kB / 0.9609 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.107e-05/0.8097, allocations: 7.625 kB / 0.9609 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.8097, allocations: 2.688 kB / 0.9609 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005431/0.8102, allocations: 111.2 kB / 0.961 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.06e-05/0.8103, allocations: 25.23 kB / 0.9611 GB, free: 2.793 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul3.y,$PRE.booPul3.y,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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 8.545e-05/0.8104, allocations: 130.1 kB / 0.9612 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.4e-05/0.8104, allocations: 8.094 kB / 0.9612 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.8104, allocations: 9.375 kB / 0.9612 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.8104, allocations: 2.281 kB / 0.9612 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.8104, allocations: 3.984 kB / 0.9612 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.8104, allocations: 0 / 0.9612 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.378e-05/0.8105, allocations: 193.7 kB / 0.9614 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8105, allocations: 5.031 kB / 0.9614 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-05/0.8106, allocations: 1.969 kB / 0.9614 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.8106, allocations: 3.938 kB / 0.9614 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.8106, allocations: 6.016 kB / 0.9614 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.8106, allocations: 0.9688 kB / 0.9614 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.8106, allocations: 384 / 0.9614 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.8107, allocations: 138.6 kB / 0.9615 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.8108, allocations: 88 kB / 0.9616 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.8108, allocations: 9.031 kB / 0.9616 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.8108, allocations: 1 kB / 0.9616 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.614e-05/0.8108, allocations: 8.172 kB / 0.9616 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.8109, allocations: 7.719 kB / 0.9616 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.8109, allocations: 96.33 kB / 0.9617 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8109, allocations: 0 / 0.9617 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002591/0.8112, allocations: 51.02 kB / 0.9618 GB, free: 2.102 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: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y,booPul3.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003194/0.8115, allocations: 0.687 MB / 0.9625 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003809/0.8119, allocations: 360.4 kB / 0.9628 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8119, allocations: 0 / 0.9628 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.753e-05/0.812, allocations: 34.72 kB / 0.9628 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.8122, allocations: 30 kB / 0.9629 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.8142, allocations: 2.067 MB / 0.9649 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.8144, allocations: 0.6967 MB / 0.9656 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.8145, allocations: 10.05 kB / 0.9656 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.8145, allocations: 32.3 kB / 0.9656 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.8145, allocations: 0 / 0.9656 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01346/0.828, allocations: 3.488 MB / 0.969 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/0.8282, allocations: 203.9 kB / 0.9692 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.65, allocations: 5.125 kB / 0.9692 GB, free: 12.7 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_And3.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches