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.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.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.001156/0.001156, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007663/0.007663, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.39/2.39, allocations: 390.9 MB / 0.6664 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004117/0.0004119, allocations: 12 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.8593, allocations: 142.4 MB / 0.9552 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0006628/0.86, allocations: 389.9 kB / 0.9555 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.8611, allocations: 1.202 MB / 0.9567 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.703e-05/0.8611, allocations: 0 / 0.9567 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.8612, allocations: 5.031 kB / 0.9567 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.8612, allocations: 9.125 kB / 0.9567 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.8618, allocations: 202.7 kB / 0.9569 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.862, allocations: 154 kB / 0.9571 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.732e-05/0.8621, allocations: 17.11 kB / 0.9571 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.8622, allocations: 51.58 kB / 0.9571 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.8623, allocations: 53.61 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.8624, allocations: 7.719 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.8625, allocations: 27.45 kB / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.8625, allocations: 3.094 kB / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.095e-05/0.8626, allocations: 79.39 kB / 0.9573 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.8628, allocations: 145 kB / 0.9574 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8628, allocations: 0 / 0.9574 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8628, allocations: 1.094 kB / 0.9574 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.8628, allocations: 0 / 0.9574 GB, free: 5.848 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.0003533/0.8632, allocations: 409.6 kB / 0.9578 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.8632, allocations: 8.75 kB / 0.9578 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.358e-05/0.8633, allocations: 36.02 kB / 0.9579 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.8633, allocations: 9.188 kB / 0.9579 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.499e-05/0.8634, allocations: 174.6 kB / 0.9581 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.8634, allocations: 8.656 kB / 0.9581 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.518e-05/0.8635, allocations: 13.5 kB / 0.9581 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.434e-05/0.8636, allocations: 51.58 kB / 0.9581 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.8636, allocations: 9 kB / 0.9581 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-06/0.8636, allocations: 0 / 0.9581 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.8636, allocations: 3.969 kB / 0.9581 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.294e-05/0.8636, allocations: 17.8 kB / 0.9582 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003676/0.864, allocations: 356.1 kB / 0.9585 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.598e-05/0.8641, allocations: 37.27 kB / 0.9585 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.8641, allocations: 18.28 kB / 0.9585 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.8641, allocations: 1.812 kB / 0.9585 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.8643, allocations: 78.97 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.163e-06/0.8643, allocations: 1.375 kB / 0.9586 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002066/0.8645, allocations: 103.4 kB / 0.9587 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.8645, allocations: 61.38 kB / 0.9588 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.709e-05/0.8646, allocations: 126.4 kB / 0.9589 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.8646, allocations: 29.86 kB / 0.9589 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.8647, allocations: 93.16 kB / 0.959 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.8647, allocations: 18.08 kB / 0.959 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.169e-05/0.8647, allocations: 21.56 kB / 0.9591 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.8648, allocations: 320.4 kB / 0.9594 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.8649, allocations: 59.41 kB / 0.9594 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.865, allocations: 99.09 kB / 0.9595 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.8652, allocations: 152.2 kB / 0.9597 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8652, allocations: 4 kB / 0.9597 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003656/0.8656, allocations: 260 kB / 0.9599 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.958e-05/0.8656, allocations: 68.58 kB / 0.96 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.8657, allocations: 1.719 kB / 0.96 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.8657, allocations: 5.75 kB / 0.96 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/0.8657, allocations: 5.531 kB / 0.96 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8657, allocations: 2.062 kB / 0.96 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.8661, allocations: 82.98 kB / 0.9601 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.824e-05/0.8661, allocations: 16.36 kB / 0.9601 GB, free: 3.328 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 7.717e-05/0.8662, allocations: 126.1 kB / 0.9602 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.8662, allocations: 8.5 kB / 0.9602 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.8663, allocations: 8.375 kB / 0.9602 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.8663, allocations: 6.125 kB / 0.9602 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.8663, allocations: 0 / 0.9602 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.8663, allocations: 0 / 0.9602 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.717e-05/0.8664, allocations: 189.5 kB / 0.9604 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8664, allocations: 0 / 0.9604 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.616e-06/0.8664, allocations: 1.094 kB / 0.9604 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.8664, allocations: 5.094 kB / 0.9604 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.8664, allocations: 1.219 kB / 0.9604 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.8664, allocations: 1.25 kB / 0.9604 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8664, allocations: 3.984 kB / 0.9604 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001172/0.8665, allocations: 105.4 kB / 0.9605 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.8666, allocations: 86.38 kB / 0.9606 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.8666, allocations: 1.375 kB / 0.9606 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.046e-05/0.8666, allocations: 4 kB / 0.9606 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.8667, allocations: 12.11 kB / 0.9606 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.8667, allocations: 2.75 kB / 0.9606 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.8667, allocations: 95.45 kB / 0.9607 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8667, allocations: 0 / 0.9607 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002222/0.8669, allocations: 31.5 kB / 0.9607 GB, free: 2.668 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.0003132/0.8673, allocations: 0.6544 MB / 0.9614 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002783/0.8675, allocations: 246.3 kB / 0.9616 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.8676, allocations: 0 / 0.9616 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.8676, allocations: 32.42 kB / 0.9616 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.8678, allocations: 16.05 kB / 0.9617 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.8697, allocations: 1.734 MB / 0.9634 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.87, allocations: 0.6877 MB / 0.964 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.018e-05/0.87, allocations: 7.562 kB / 0.964 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.8701, allocations: 23.09 kB / 0.9641 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.8701, allocations: 0 / 0.9641 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01431/0.8844, allocations: 2.623 MB / 0.9666 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002421/0.8847, allocations: 207.8 kB / 0.9668 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.535, allocations: 0 / 0.9668 GB, free: 14.03 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