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: 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_9_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_9_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.008127/0.008127, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.001718/0.001718, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 4.184 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.598/2.598, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.86 kB / 0.9509 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3788, allocations: 140.4 MB / 1.088 GB, free: 1.488 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002258/0.3811, allocations: 0.6651 MB / 1.089 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.383, allocations: 1.188 MB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.3832, allocations: 4 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.3832, allocations: 3.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.3833, allocations: 3.938 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.3842, allocations: 221.9 kB / 1.09 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.3845, allocations: 191.6 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3846, allocations: 11.98 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3847, allocations: 59.91 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3849, allocations: 71.83 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.132e-05/0.385, allocations: 12 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3851, allocations: 31.98 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.977e-05/0.3851, allocations: 19.91 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.407e-05/0.3852, allocations: 47.91 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002591/0.3855, allocations: 155.5 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3855, allocations: 0 / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3855, allocations: 0 / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.3855, allocations: 0 / 1.091 GB, free: 14.81 MB / 0.8575 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.0006028/0.3861, allocations: 442.6 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3862, allocations: 8.031 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.716e-05/0.3863, allocations: 16.89 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3865, allocations: 176.2 kB / 1.091 GB, free: 14.08 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.3865, allocations: 4.375 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.3865, allocations: 8.375 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.3867, allocations: 54.23 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.3867, allocations: 192 / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3867, allocations: 3.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3867, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/0.3868, allocations: 19.92 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.3874, allocations: 352.8 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.783e-05/0.3875, allocations: 34.52 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.3875, allocations: 20.94 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.3875, allocations: 0 / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002195/0.3877, allocations: 87.25 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3878, allocations: 4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002569/0.388, allocations: 97.67 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.3881, allocations: 59.39 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3882, allocations: 117.8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.3882, allocations: 37.64 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.735e-05/0.3883, allocations: 84.14 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3884, allocations: 27.81 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.181e-05/0.3884, allocations: 45.69 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3886, allocations: 330.7 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.3887, allocations: 67.95 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3889, allocations: 84.27 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.3891, allocations: 168 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3891, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004225/0.3896, allocations: 260.9 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.52e-05/0.3896, allocations: 71.39 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3896, allocations: 4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3897, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.504e-05/0.3897, allocations: 4 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.3897, allocations: 3.938 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.3901, allocations: 56.06 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.3901, allocations: 15.98 kB / 1.093 GB, free: 11.79 MB / 0.8575 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.0001077/0.3902, allocations: 121.8 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.3902, allocations: 3.953 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.3903, allocations: 12.38 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3903, allocations: 3.984 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.3903, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3903, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.3905, allocations: 177.6 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3905, allocations: 0 / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.291e-05/0.3905, allocations: 11.97 kB / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.3905, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3905, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3905, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3905, allocations: 0 / 1.094 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.3907, allocations: 124.9 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.3907, allocations: 89 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3908, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.3908, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.3908, allocations: 11.98 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.3908, allocations: 7.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.266e-05/0.3909, allocations: 95.2 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3909, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002265/0.3912, allocations: 28 kB / 1.094 GB, free: 11.02 MB / 0.8575 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.0001907/0.3914, allocations: 111.8 kB / 1.094 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003644/0.3917, allocations: 242.6 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3917, allocations: 4 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.3918, allocations: 27.94 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.392, allocations: 15.98 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.3924, allocations: 155.5 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3927, allocations: 0.6885 MB / 1.095 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.759e-05/0.3927, allocations: 4 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.3928, allocations: 11.44 kB / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3928, allocations: 0 / 1.095 GB, free: 9.684 MB / 0.8575 GB Notification: Performance of Templates: time 0.004604/0.3974, allocations: 1.87 MB / 1.097 GB, free: 7.84 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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