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.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.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.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001316/0.001316, allocations: 191 kB / 16.25 MB, free: 6.629 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.551 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.456/2.456, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001504, allocations: 67.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7962/0.7978, allocations: 140.3 MB / 0.9492 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And3): time 0.002008/0.7998, allocations: 0.7763 MB / 0.95 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001394/0.8012, allocations: 1.253 MB / 0.9512 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.8013, allocations: 0 / 0.9512 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.8013, allocations: 3.938 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.8014, allocations: 14.66 kB / 0.9512 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.8022, allocations: 286.7 kB / 0.9515 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.8025, allocations: 274.4 kB / 0.9518 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.8026, allocations: 19.69 kB / 0.9518 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.8027, allocations: 94.88 kB / 0.9519 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.8028, allocations: 76.23 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.861e-05/0.8029, allocations: 21.78 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.803, allocations: 40.39 kB / 0.952 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.803, allocations: 13.16 kB / 0.952 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.8031, allocations: 88.52 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.8034, allocations: 227.9 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8034, allocations: 0 / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8034, allocations: 0 / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.8034, allocations: 0 / 0.9523 GB, free: 6.793 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.0005333/0.8039, allocations: 497.3 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.804, allocations: 9.875 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.804, allocations: 35.91 kB / 0.9529 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.8041, allocations: 12.28 kB / 0.9529 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.85e-05/0.8042, allocations: 179.8 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.8042, allocations: 11.38 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.8043, allocations: 12.97 kB / 0.9531 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.8044, allocations: 59.92 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.8044, allocations: 3.938 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.8044, allocations: 3.984 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.8044, allocations: 1.031 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.899e-05/0.8045, allocations: 19 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.8049, allocations: 426.1 kB / 0.9535 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.696e-05/0.805, allocations: 28.67 kB / 0.9536 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.8051, allocations: 20.38 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.8051, allocations: 1.375 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.8052, allocations: 101.4 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.8052, allocations: 4 kB / 0.9537 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0002932/0.8055, allocations: 136.5 kB / 0.9538 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.8056, allocations: 53.03 kB / 0.9539 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.8057, allocations: 139 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.8057, allocations: 36.58 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/0.8058, allocations: 98.88 kB / 0.9541 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.8058, allocations: 20.03 kB / 0.9542 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.8059, allocations: 65.92 kB / 0.9542 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.806, allocations: 333.3 kB / 0.9545 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.8062, allocations: 89.98 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.8064, allocations: 136.8 kB / 0.9548 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.8066, allocations: 236.1 kB / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8066, allocations: 0 / 0.955 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005525/0.8072, allocations: 368.9 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.01e-05/0.8072, allocations: 100.3 kB / 0.9554 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8073, allocations: 6.266 kB / 0.9554 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.8073, allocations: 6.219 kB / 0.9554 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.386e-05/0.8073, allocations: 6.531 kB / 0.9554 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.8073, allocations: 2.812 kB / 0.9554 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.8078, allocations: 83.67 kB / 0.9555 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.8079, allocations: 24.67 kB / 0.9556 GB, free: 3.883 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 9.4e-05/0.808, allocations: 130.4 kB / 0.9557 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.808, allocations: 7.562 kB / 0.9557 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.808, allocations: 9.562 kB / 0.9557 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.808, allocations: 2.406 kB / 0.9557 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.808, allocations: 0 / 0.9557 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.808, allocations: 3.984 kB / 0.9557 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.966e-05/0.8081, allocations: 198 kB / 0.9559 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.8082, allocations: 4 kB / 0.9559 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.8082, allocations: 2.812 kB / 0.9559 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.8082, allocations: 0 / 0.9559 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.8082, allocations: 9.281 kB / 0.9559 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.8082, allocations: 1.156 kB / 0.9559 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8082, allocations: 0 / 0.9559 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.8084, allocations: 136 kB / 0.956 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.8084, allocations: 82.42 kB / 0.9561 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.8084, allocations: 13.48 kB / 0.9561 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.24e-05/0.8085, allocations: 5.469 kB / 0.9561 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.8085, allocations: 12.23 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.8085, allocations: 3.719 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.8086, allocations: 94.14 kB / 0.9562 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8086, allocations: 1.375 kB / 0.9562 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002461/0.8088, allocations: 48.66 kB / 0.9563 GB, free: 3.191 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.0003523/0.8092, allocations: 0.684 MB / 0.957 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.8096, allocations: 364.5 kB / 0.9573 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8096, allocations: 0 / 0.9573 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.208e-05/0.8097, allocations: 39.45 kB / 0.9573 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.81, allocations: 32.5 kB / 0.9574 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.812, allocations: 2.065 MB / 0.9594 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.8122, allocations: 0.7044 MB / 0.9601 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.386e-05/0.8122, allocations: 9.922 kB / 0.9601 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.8123, allocations: 24.94 kB / 0.9601 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8123, allocations: 0 / 0.9601 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.8369, allocations: 3.689 MB / 0.9637 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.8372, allocations: 205.3 kB / 0.9639 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.695, allocations: 0 / 0.9639 GB, free: 13.63 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