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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xor1.u1|xor1.u2|xor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 114.9 kB / 16.37 MB, free: 6 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.0011/0.0011, allocations: 194.7 kB / 17.3 MB, free: 5.613 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.563/2.563, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 64 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3752, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002141/0.3774, allocations: 0.666 MB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001548/0.3789, allocations: 1.197 MB / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.379, allocations: 0 / 1.029 GB, free: 220 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.3791, allocations: 3.938 kB / 1.029 GB, free: 216 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.3791, allocations: 15.88 kB / 1.029 GB, free: 200 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006868/0.3798, allocations: 213.2 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.3801, allocations: 183.7 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.733e-05/0.3802, allocations: 12 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.3803, allocations: 67.88 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001474/0.3805, allocations: 67.84 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.3805, allocations: 16 kB / 1.029 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.857e-05/0.3806, allocations: 27.97 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.3806, allocations: 15.88 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.182e-05/0.3807, allocations: 59.83 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.381, allocations: 147.6 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.381, allocations: 4 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.381, allocations: 0 / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.381, allocations: 0 / 1.029 GB, free: 15.4 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.0005578/0.3816, allocations: 434.7 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3816, allocations: 12.03 kB / 1.03 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.3817, allocations: 12.83 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.3818, allocations: 164.4 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3818, allocations: 4.375 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.3819, allocations: 8.375 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.382, allocations: 58.17 kB / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.382, allocations: 192 / 1.03 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.382, allocations: 3.938 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.382, allocations: 0 / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.3821, allocations: 16 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.3826, allocations: 364.6 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.603e-05/0.3827, allocations: 38.52 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.3827, allocations: 20.88 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.3827, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.3829, allocations: 91.36 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3829, allocations: 0 / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002426/0.3832, allocations: 105.5 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3832, allocations: 55.34 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3833, allocations: 117.8 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.3834, allocations: 33.7 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.3834, allocations: 84.14 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.3835, allocations: 19.8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.536e-05/0.3836, allocations: 57.67 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3837, allocations: 318.8 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3838, allocations: 59.97 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.384, allocations: 92.25 kB / 1.031 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.3842, allocations: 159.6 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.3842, allocations: 0 / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004016/0.3846, allocations: 264.8 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.439e-05/0.3846, allocations: 63.41 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.3847, allocations: 3.984 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3847, allocations: 4.469 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.02e-05/0.3847, allocations: 8.062 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3847, allocations: 4 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.385, allocations: 51.94 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.3851, allocations: 11.98 kB / 1.032 GB, free: 12.41 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.819e-05/0.3852, allocations: 133.6 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.3852, allocations: 7.906 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.061e-05/0.3853, allocations: 16.36 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3853, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3853, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3853, allocations: 4 kB / 1.032 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.3854, allocations: 181.5 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3854, allocations: 4 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.165e-06/0.3855, allocations: 3.938 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3855, allocations: 0 / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3855, allocations: 3.984 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.3855, allocations: 4 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3855, allocations: 4 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.3856, allocations: 112.9 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.78e-05/0.3857, allocations: 85.02 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.3857, allocations: 0 / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.3857, allocations: 0 / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.3858, allocations: 11.98 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.3858, allocations: 8.062 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.3858, allocations: 95.2 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3859, allocations: 4 kB / 1.033 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002345/0.3861, allocations: 32 kB / 1.033 GB, free: 11.62 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.0001535/0.3863, allocations: 103.2 kB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.3866, allocations: 242.6 kB / 1.033 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.3866, allocations: 8 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.3867, allocations: 23.98 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.3869, allocations: 20.52 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003133/0.3872, allocations: 155.3 kB / 1.033 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3875, allocations: 0.6885 MB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.567e-05/0.3875, allocations: 7.938 kB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.255e-05/0.3876, allocations: 11.44 kB / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3876, allocations: 0 / 1.034 GB, free: 10.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.004712/0.3923, allocations: 1.857 MB / 1.036 GB, free: 8.445 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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