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.00148/0.00148, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002196/0.002196, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.571/2.571, allocations: 390.2 MB / 0.6644 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 67.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9357/0.9372, allocations: 140.4 MB / 0.9493 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002248/0.9395, allocations: 0.7077 MB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.941, allocations: 1.191 MB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.856e-05/0.9411, allocations: 0 / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.694e-05/0.9411, allocations: 0 / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.604e-05/0.9412, allocations: 9.297 kB / 0.9511 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.9418, allocations: 200.9 kB / 0.9513 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.9421, allocations: 179.6 kB / 0.9515 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.9422, allocations: 12.16 kB / 0.9515 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.9424, allocations: 72.47 kB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.9425, allocations: 53.56 kB / 0.9516 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.497e-05/0.9425, allocations: 18.95 kB / 0.9516 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.904e-05/0.9426, allocations: 34.17 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.9427, allocations: 11.95 kB / 0.9517 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.15e-05/0.9427, allocations: 53.64 kB / 0.9517 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.943, allocations: 149.6 kB / 0.9519 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.943, allocations: 0 / 0.9519 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.805e-06/0.943, allocations: 4 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.943, allocations: 1.688 kB / 0.9519 GB, free: 7.082 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.0004961/0.9435, allocations: 436.4 kB / 0.9523 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.9435, allocations: 8.719 kB / 0.9523 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.936e-05/0.9436, allocations: 32.12 kB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.9436, allocations: 8.5 kB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.891e-05/0.9437, allocations: 178.8 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.9438, allocations: 8.156 kB / 0.9525 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.507e-05/0.9438, allocations: 13.38 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.9439, allocations: 51.98 kB / 0.9526 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.944, allocations: 5.062 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.944, allocations: 7.938 kB / 0.9526 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.944, allocations: 5.234 kB / 0.9526 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.944, allocations: 12.84 kB / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.9445, allocations: 356 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.389e-05/0.9446, allocations: 40.62 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.877e-05/0.9446, allocations: 15.3 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.9446, allocations: 96 / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.9448, allocations: 84.42 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.9449, allocations: 0 / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002443/0.9451, allocations: 108.6 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.9451, allocations: 56.94 kB / 0.9532 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.9452, allocations: 128.1 kB / 0.9534 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.9453, allocations: 28.64 kB / 0.9534 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.9453, allocations: 92.72 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.9454, allocations: 14.84 kB / 0.9535 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.9455, allocations: 47.97 kB / 0.9535 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.9455, allocations: 325 kB / 0.9539 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.9457, allocations: 55.5 kB / 0.9539 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.9458, allocations: 99.41 kB / 0.954 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.946, allocations: 161 kB / 0.9542 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.946, allocations: 0 / 0.9542 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004132/0.9464, allocations: 267 kB / 0.9544 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.194e-05/0.9465, allocations: 70.39 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9465, allocations: 1.625 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.9465, allocations: 1.562 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.586e-05/0.9465, allocations: 7.297 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.9466, allocations: 1.25 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.9469, allocations: 55.75 kB / 0.9545 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.947, allocations: 17.42 kB / 0.9546 GB, free: 4.539 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 9.075e-05/0.947, allocations: 128.5 kB / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.9471, allocations: 7.031 kB / 0.9547 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.9471, allocations: 8.375 kB / 0.9547 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9471, allocations: 1.75 kB / 0.9547 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.9471, allocations: 4 kB / 0.9547 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.9471, allocations: 7.984 kB / 0.9547 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.9472, allocations: 178 kB / 0.9549 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9472, allocations: 0 / 0.9549 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.338e-06/0.9473, allocations: 1.312 kB / 0.9549 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.9473, allocations: 1.688 kB / 0.9549 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.9473, allocations: 7.984 kB / 0.9549 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9473, allocations: 1.375 kB / 0.9549 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.9473, allocations: 0 / 0.9549 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.9474, allocations: 112.4 kB / 0.955 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.9475, allocations: 82.52 kB / 0.9551 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.9475, allocations: 9.188 kB / 0.9551 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.9475, allocations: 1.406 kB / 0.9551 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.667e-05/0.9476, allocations: 7.547 kB / 0.9551 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.9476, allocations: 7.562 kB / 0.9551 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.9476, allocations: 93.89 kB / 0.9552 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9476, allocations: 1.125 kB / 0.9552 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002372/0.9479, allocations: 26.5 kB / 0.9552 GB, free: 3.879 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.0003975/0.9483, allocations: 0.6519 MB / 0.9559 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003253/0.9486, allocations: 261.4 kB / 0.9561 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9486, allocations: 1.406 kB / 0.9561 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.93e-05/0.9487, allocations: 20.12 kB / 0.9561 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.9489, allocations: 20.48 kB / 0.9561 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.9507, allocations: 1.727 MB / 0.9578 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.9509, allocations: 0.6913 MB / 0.9585 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.255e-05/0.9509, allocations: 7.562 kB / 0.9585 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.951, allocations: 15.75 kB / 0.9585 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.951, allocations: 0 / 0.9585 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01418/0.9652, allocations: 2.78 MB / 0.9612 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.9654, allocations: 204.8 kB / 0.9614 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.728, allocations: 0 / 0.9614 GB, free: 15.11 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