Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_11_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.006462/0.006467, allocations: 95.7 kB / 15.73 MB, free: 6.484 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.001497/0.001497, allocations: 191.3 kB / 16.67 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.919/2.919, allocations: 469.8 MB / 0.7425 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3783, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002028/0.3804, allocations: 0.6596 MB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001861/0.3823, allocations: 1.184 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.748e-05/0.3824, allocations: 4 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.3824, allocations: 3.938 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.3825, allocations: 11.91 kB / 1.222 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.3832, allocations: 223 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.3835, allocations: 179.7 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3837, allocations: 23.97 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.3838, allocations: 67.89 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.3839, allocations: 63.78 kB / 1.223 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.304e-05/0.384, allocations: 16 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.546e-05/0.3841, allocations: 27.98 kB / 1.223 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.3841, allocations: 7.984 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.3842, allocations: 59.81 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.3845, allocations: 155.5 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3845, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3845, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.3845, allocations: 4 kB / 1.223 GB, free: 11.59 MB / 0.9825 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.0006749/0.3852, allocations: 438.7 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3853, allocations: 8.031 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.469e-05/0.3853, allocations: 38.69 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.3854, allocations: 8.891 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3855, allocations: 172.3 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3856, allocations: 8.375 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.3856, allocations: 8.375 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.3857, allocations: 50.23 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3858, allocations: 11.94 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.3858, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3858, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.506e-05/0.3859, allocations: 27.92 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.3864, allocations: 352.7 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.3865, allocations: 34.56 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.3866, allocations: 12.86 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.3866, allocations: 8.094 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002117/0.3868, allocations: 87.28 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.3868, allocations: 0 / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002777/0.3871, allocations: 109.6 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.3871, allocations: 51.41 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3873, allocations: 121.8 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3873, allocations: 29.7 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.3874, allocations: 96.09 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3874, allocations: 15.91 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3875, allocations: 49.69 kB / 1.224 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.3877, allocations: 318.8 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.3879, allocations: 63.91 kB / 1.225 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.388, allocations: 100.2 kB / 1.225 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3883, allocations: 155.6 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3883, allocations: 0 / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004673/0.3887, allocations: 260.9 kB / 1.225 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.3888, allocations: 73.55 kB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3888, allocations: 0 / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3889, allocations: 4 kB / 1.225 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.617e-05/0.3889, allocations: 3.984 kB / 1.225 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.3889, allocations: 7.938 kB / 1.225 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.3893, allocations: 55.83 kB / 1.225 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.3893, allocations: 12 kB / 1.225 GB, free: 8.539 MB / 0.9825 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 0.0001328/0.3895, allocations: 129.8 kB / 1.226 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/0.3895, allocations: 7.953 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.3895, allocations: 8.375 kB / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3895, allocations: 0 / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3895, allocations: 0 / 1.226 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3895, allocations: 4.469 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3897, allocations: 177.6 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3898, allocations: 4 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-06/0.3898, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3898, allocations: 4 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3898, allocations: 3.938 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3898, allocations: 4 kB / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3898, allocations: 64 / 1.226 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.39, allocations: 120.9 kB / 1.226 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.3901, allocations: 81.09 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.872e-05/0.3901, allocations: 4 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.948e-05/0.3901, allocations: 0 / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.627e-05/0.3902, allocations: 15.98 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3902, allocations: 0 / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.218e-05/0.3903, allocations: 87.28 kB / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.9e-07/0.3903, allocations: 0 / 1.226 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002477/0.3905, allocations: 35.98 kB / 1.226 GB, free: 7.766 MB / 0.9825 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.0006546/0.3912, allocations: 0.6596 MB / 1.227 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004016/0.3916, allocations: 250.6 kB / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3916, allocations: 0 / 1.227 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.536e-05/0.3917, allocations: 27.98 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.3919, allocations: 15.98 kB / 1.227 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.3943, allocations: 1.721 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.3947, allocations: 0.6885 MB / 1.229 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.3947, allocations: 8 kB / 1.229 GB, free: 4.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.3948, allocations: 27.45 kB / 1.229 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3948, allocations: 0 / 1.229 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.4209, allocations: 2.904 MB / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.721, allocations: 8.75 kB / 1.232 GB, free: 1.375 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches