Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_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.001364/0.001364, 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.001556/0.001556, allocations: 191.9 kB / 16.25 MB, free: 6.621 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.364/1.364, 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 11.0.1-master/package.mo): time 2.549/2.549, allocations: 461.9 MB / 0.7343 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 67.89 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3536, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002385/0.356, allocations: 0.7078 MB / 1.053 GB, free: 7.93 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3577, allocations: 1.198 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.3578, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.3578, allocations: 7.922 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.3579, allocations: 11.92 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000633/0.3586, allocations: 201.8 kB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002072/0.3588, allocations: 183.7 kB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.3589, allocations: 8 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.359, allocations: 71.88 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.3591, allocations: 47.88 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.607e-05/0.3591, allocations: 16 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.3592, allocations: 35.86 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.269e-05/0.3593, allocations: 19.91 kB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.289e-05/0.3594, allocations: 59.89 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3596, allocations: 147.9 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3596, allocations: 4 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.074e-06/0.3596, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3596, allocations: 0 / 1.055 GB, free: 5.926 MB / 0.8106 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.0005436/0.3601, allocations: 434.7 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3602, allocations: 12.62 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.057e-05/0.3602, allocations: 30.75 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.3603, allocations: 20.83 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3604, allocations: 160.4 kB / 1.056 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.3604, allocations: 8.375 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.3605, allocations: 12.38 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.3606, allocations: 54.17 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3606, allocations: 3.938 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.3606, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3606, allocations: 4 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.016e-05/0.3607, allocations: 12 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.3611, allocations: 368.6 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.747e-05/0.3612, allocations: 38.52 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.093e-05/0.3613, allocations: 20.94 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.3613, allocations: 0 / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.3615, allocations: 79.36 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.3615, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002384/0.3617, allocations: 113.5 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3618, allocations: 51.41 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.3619, allocations: 121.8 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.3619, allocations: 34.08 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.258e-05/0.362, allocations: 84.14 kB / 1.057 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.362, allocations: 15.8 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.118e-05/0.3621, allocations: 53.67 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3622, allocations: 330.7 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3623, allocations: 59.97 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3625, allocations: 92.25 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.3627, allocations: 159.6 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3627, allocations: 3.938 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003803/0.3631, allocations: 264.8 kB / 1.058 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.3631, allocations: 63.41 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.3631, allocations: 4 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3631, allocations: 3.984 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.962e-05/0.3632, allocations: 4 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3632, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.3635, allocations: 56.06 kB / 1.058 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.3636, allocations: 11.98 kB / 1.058 GB, free: 2.883 MB / 0.8106 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.939e-05/0.3637, allocations: 125.7 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.315e-05/0.3637, allocations: 7.906 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.3637, allocations: 12.36 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3637, allocations: 7.938 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3638, allocations: 4 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3638, allocations: 0 / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.3639, allocations: 177.6 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3639, allocations: 0 / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.011e-05/0.3639, allocations: 4.078 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3639, allocations: 3.938 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3639, allocations: 4 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3639, allocations: 0 / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3639, allocations: 0 / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3641, allocations: 120.9 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.693e-05/0.3641, allocations: 81.02 kB / 1.058 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.3642, allocations: 4.062 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.3642, allocations: 4 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.3642, allocations: 15.97 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3642, allocations: 3.938 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.3643, allocations: 91.27 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3643, allocations: 0 / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002216/0.3645, allocations: 28 kB / 1.058 GB, free: 2.105 MB / 0.8106 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.0004352/0.365, allocations: 0.6553 MB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.3653, allocations: 246.7 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.3653, allocations: 0 / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.486e-05/0.3654, allocations: 31.92 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.3656, allocations: 18.77 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3674, allocations: 1.72 MB / 1.061 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.3676, allocations: 0.6885 MB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.3676, allocations: 4.094 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.3677, allocations: 19.36 kB / 1.062 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3677, allocations: 8 kB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.3802, allocations: 2.767 MB / 1.064 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.3804, allocations: 217.8 kB / 1.065 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.046, allocations: 0 / 1.065 GB, free: 11.63 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches