Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.Xor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.001601/0.001601, allocations: 108 kB / 15.6 MB, free: 132 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.001814/0.001814, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.426/2.426, allocations: 390.3 MB / 0.6647 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.6392, allocations: 140.4 MB / 0.9497 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001542/0.6408, allocations: 0.6518 MB / 0.9504 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009856/0.6418, allocations: 1.186 MB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.6418, allocations: 5.312 kB / 0.9515 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.6418, allocations: 3.938 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.826e-05/0.6419, allocations: 13.19 kB / 0.9516 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004966/0.6424, allocations: 214.1 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.6426, allocations: 187 kB / 0.9519 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.017e-05/0.6427, allocations: 9.672 kB / 0.9519 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.914e-05/0.6427, allocations: 68.2 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.828e-05/0.6428, allocations: 52.64 kB / 0.9521 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.6429, allocations: 19.34 kB / 0.9521 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.439e-05/0.6429, allocations: 30.17 kB / 0.9521 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.643, allocations: 10.61 kB / 0.9521 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.643, allocations: 59.36 kB / 0.9522 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.6432, allocations: 152.2 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.6432, allocations: 0 / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6432, allocations: 1 kB / 0.9523 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.6432, allocations: 0 / 0.9523 GB, free: 7.152 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.0003531/0.6436, allocations: 429 kB / 0.9527 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.6436, allocations: 8.656 kB / 0.9527 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.256e-05/0.6436, allocations: 48.05 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.6437, allocations: 7.938 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.491e-05/0.6438, allocations: 170.9 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.6438, allocations: 5.25 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.6438, allocations: 9.344 kB / 0.953 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.848e-05/0.6439, allocations: 56.33 kB / 0.953 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.6439, allocations: 3.938 kB / 0.953 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.6439, allocations: 5.469 kB / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6439, allocations: 0 / 0.953 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.997e-05/0.644, allocations: 17.27 kB / 0.953 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003331/0.6443, allocations: 359.1 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.922e-05/0.6444, allocations: 32.73 kB / 0.9534 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.539e-05/0.6444, allocations: 19.31 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.6444, allocations: 1.438 kB / 0.9534 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.6446, allocations: 91.98 kB / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.6446, allocations: 0 / 0.9535 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0001988/0.6448, allocations: 97.3 kB / 0.9536 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.114e-05/0.6448, allocations: 56.92 kB / 0.9537 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.823e-05/0.6449, allocations: 121.8 kB / 0.9538 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.6449, allocations: 34.83 kB / 0.9538 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.6449, allocations: 88.02 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/0.645, allocations: 18.28 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.556e-05/0.645, allocations: 52.81 kB / 0.954 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.518e-05/0.6451, allocations: 321.4 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.6452, allocations: 66.45 kB / 0.9543 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.6453, allocations: 87.05 kB / 0.9544 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.6455, allocations: 164.5 kB / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6455, allocations: 0 / 0.9546 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003379/0.6458, allocations: 259.3 kB / 0.9548 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.248e-05/0.6459, allocations: 68.27 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6459, allocations: 1.406 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.6459, allocations: 1.531 kB / 0.9549 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.708e-05/0.6459, allocations: 10.25 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.6459, allocations: 6.656 kB / 0.9549 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.6463, allocations: 55.89 kB / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.6463, allocations: 8.375 kB / 0.955 GB, free: 4.625 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,xor1.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 6.646e-05/0.6464, allocations: 130.3 kB / 0.9551 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.6464, allocations: 15.22 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.186e-05/0.6464, allocations: 5.469 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6464, allocations: 1.469 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.6464, allocations: 3.938 kB / 0.9551 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.6464, allocations: 5.359 kB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.852e-05/0.6465, allocations: 180.2 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.6465, allocations: 0 / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.524e-06/0.6465, allocations: 1.406 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.6465, allocations: 1.469 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.6465, allocations: 1.5 kB / 0.9553 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6466, allocations: 8.062 kB / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6466, allocations: 0 / 0.9553 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.6467, allocations: 120.7 kB / 0.9554 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.6467, allocations: 80.08 kB / 0.9555 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.6467, allocations: 3.984 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.944e-05/0.6467, allocations: 1.031 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.6468, allocations: 8.219 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.6468, allocations: 2.562 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.6468, allocations: 95.98 kB / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6468, allocations: 0 / 0.9556 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000217/0.647, allocations: 34.06 kB / 0.9556 GB, free: 3.953 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,xor1.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.0002763/0.6473, allocations: 0.6522 MB / 0.9563 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002611/0.6476, allocations: 249.7 kB / 0.9565 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6476, allocations: 0 / 0.9565 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.6477, allocations: 36.81 kB / 0.9566 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.6479, allocations: 21.42 kB / 0.9566 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.6492, allocations: 1.721 MB / 0.9583 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.218e-05/0.6493, allocations: 0.6915 MB / 0.9589 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.6493, allocations: 7.812 kB / 0.9589 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.6494, allocations: 23.36 kB / 0.959 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6494, allocations: 0 / 0.959 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.6742, allocations: 2.857 MB / 0.9618 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.557/8.232, allocations: 14.8 kB / 0.9618 GB, free: 15.32 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches