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.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.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.001415/0.001415, allocations: 108 kB / 15.6 MB, free: 128 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.001686/0.001686, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.326/2.326, allocations: 390.2 MB / 0.6647 GB, free: 464 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 67.89 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7621, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.00198/0.7641, allocations: 0.6505 MB / 0.9504 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.7654, allocations: 1.185 MB / 0.9515 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.004e-05/0.7655, allocations: 1.344 kB / 0.9515 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.7655, allocations: 3.938 kB / 0.9515 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.939e-05/0.7656, allocations: 13.14 kB / 0.9516 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005596/0.7662, allocations: 217.3 kB / 0.9518 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.7664, allocations: 173.7 kB / 0.9519 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.121e-05/0.7665, allocations: 12.81 kB / 0.9519 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.113e-05/0.7666, allocations: 71.62 kB / 0.952 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.526e-05/0.7666, allocations: 53.41 kB / 0.9521 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.7667, allocations: 15.19 kB / 0.9521 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.7668, allocations: 29.64 kB / 0.9521 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.7668, allocations: 10.58 kB / 0.9521 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.7669, allocations: 55.11 kB / 0.9522 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.7671, allocations: 152.2 kB / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7671, allocations: 0 / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7671, allocations: 0 / 0.9523 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7671, allocations: 5.281 kB / 0.9523 GB, free: 7.238 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.0004062/0.7675, allocations: 436 kB / 0.9527 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.7675, allocations: 10.28 kB / 0.9527 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.7676, allocations: 30.75 kB / 0.9528 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.7676, allocations: 8.5 kB / 0.9528 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.618e-05/0.7677, allocations: 179.1 kB / 0.9529 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.7677, allocations: 4.688 kB / 0.9529 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.7678, allocations: 14.28 kB / 0.953 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.827e-05/0.7679, allocations: 46.48 kB / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.7679, allocations: 9.031 kB / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.7679, allocations: 0 / 0.953 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.7679, allocations: 5.094 kB / 0.953 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.768, allocations: 11.19 kB / 0.953 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003877/0.7683, allocations: 350.8 kB / 0.9534 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.827e-05/0.7684, allocations: 36.44 kB / 0.9534 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.96e-05/0.7685, allocations: 15.55 kB / 0.9534 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.7685, allocations: 3.984 kB / 0.9534 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.7687, allocations: 100.1 kB / 0.9535 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.953e-06/0.7687, allocations: 0 / 0.9535 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002469/0.7689, allocations: 100.6 kB / 0.9536 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.769, allocations: 52.75 kB / 0.9537 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.769, allocations: 118.9 kB / 0.9538 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.7691, allocations: 33.67 kB / 0.9538 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.7691, allocations: 93.03 kB / 0.9539 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.7692, allocations: 18.23 kB / 0.9539 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.7692, allocations: 48.97 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.7693, allocations: 320.3 kB / 0.9543 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.7694, allocations: 62.86 kB / 0.9543 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.7696, allocations: 92.92 kB / 0.9544 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.7698, allocations: 168.6 kB / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7698, allocations: 0 / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003904/0.7702, allocations: 258.1 kB / 0.9548 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.7703, allocations: 68.89 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7703, allocations: 1.5 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.7703, allocations: 6.438 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.044e-05/0.7703, allocations: 2.25 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.7703, allocations: 1.094 kB / 0.9549 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.7707, allocations: 59.77 kB / 0.955 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.7707, allocations: 9.5 kB / 0.955 GB, free: 4.715 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.793e-05/0.7708, allocations: 133.9 kB / 0.9551 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.7708, allocations: 6.75 kB / 0.9551 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.7709, allocations: 9.5 kB / 0.9551 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7709, allocations: 1.469 kB / 0.9551 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7709, allocations: 0 / 0.9551 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.7709, allocations: 5.344 kB / 0.9551 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.878e-05/0.771, allocations: 175.7 kB / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.771, allocations: 1.531 kB / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-06/0.771, allocations: 1.469 kB / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.771, allocations: 0 / 0.9553 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.771, allocations: 9.375 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.771, allocations: 0 / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.771, allocations: 1.562 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.7712, allocations: 115.6 kB / 0.9554 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.411e-05/0.7712, allocations: 78.39 kB / 0.9555 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.7712, allocations: 9.094 kB / 0.9555 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.7712, allocations: 5.109 kB / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.7713, allocations: 2.656 kB / 0.9555 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.7713, allocations: 6.812 kB / 0.9555 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.7713, allocations: 90.7 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7713, allocations: 0 / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002367/0.7716, allocations: 36.06 kB / 0.9556 GB, free: 4.051 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.0003426/0.7719, allocations: 0.6537 MB / 0.9563 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.7722, allocations: 254 kB / 0.9565 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7723, allocations: 0 / 0.9565 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.7723, allocations: 28.61 kB / 0.9565 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.7725, allocations: 17.23 kB / 0.9565 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.7742, allocations: 1.711 MB / 0.9582 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.7743, allocations: 0.6952 MB / 0.9589 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.7743, allocations: 7.469 kB / 0.9589 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.7744, allocations: 19.47 kB / 0.9589 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7744, allocations: 1.156 kB / 0.9589 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.7941, allocations: 2.85 MB / 0.9617 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.53/8.324, allocations: 8.984 kB / 0.9617 GB, free: 15.43 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