Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001366/0.001366, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001454/0.001454, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.346/1.346, 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 10.1.1-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 67.89 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9588/0.9603, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002301/0.9627, allocations: 0.6548 MB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001971/0.9647, allocations: 1.189 MB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.007e-05/0.9647, allocations: 0 / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.9648, allocations: 7.922 kB / 1.169 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.867e-05/0.9649, allocations: 15.88 kB / 1.169 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008112/0.9657, allocations: 218.3 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.9661, allocations: 195.6 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.9662, allocations: 4 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.9663, allocations: 67.94 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.9665, allocations: 67.72 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.9665, allocations: 20 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.9666, allocations: 31.98 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.9667, allocations: 11.98 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.653e-05/0.9668, allocations: 55.83 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.967, allocations: 155.6 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.967, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.613e-06/0.967, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.967, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 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.000608/0.9677, allocations: 428.5 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.9677, allocations: 16.86 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.9678, allocations: 16.84 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.9679, allocations: 172.3 kB / 1.171 GB, free: 436 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.113e-05/0.968, allocations: 8.375 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.968, allocations: 8.375 kB / 1.171 GB, free: 420 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.9681, allocations: 50.23 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.9681, allocations: 4.172 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.9682, allocations: 7.875 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9682, allocations: 0 / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.031e-05/0.9682, allocations: 20 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.9688, allocations: 356.7 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.9689, allocations: 34.52 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.872e-05/0.9689, allocations: 16.94 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.969, allocations: 7.938 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001924/0.9692, allocations: 79.36 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.9692, allocations: 4 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002793/0.9695, allocations: 105.6 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.9695, allocations: 51.41 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.9696, allocations: 125.7 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.9697, allocations: 29.7 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.9698, allocations: 96.05 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.9698, allocations: 11.89 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.9699, allocations: 49.69 kB / 1.172 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.97, allocations: 322.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.9702, allocations: 59.97 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.9705, allocations: 96.25 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.9707, allocations: 159.6 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9707, allocations: 0 / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004435/0.9711, allocations: 260.8 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.182e-05/0.9712, allocations: 67.39 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9712, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.9713, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.591e-05/0.9713, allocations: 7.922 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9713, allocations: 7.938 kB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003463/0.9716, allocations: 59.91 kB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.9717, allocations: 15.98 kB / 1.173 GB, free: 14.14 MB / 0.9044 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.000113/0.9718, allocations: 121.8 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.9718, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.165e-05/0.9719, allocations: 8.375 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.9719, allocations: 4 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9719, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.9719, allocations: 4 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.972, allocations: 178 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9721, allocations: 4.062 kB / 1.173 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.9721, allocations: 7.938 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.9721, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.9721, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.9721, allocations: 11.92 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9721, allocations: 0 / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.9723, allocations: 113 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.9723, allocations: 85 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.9724, allocations: 4 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.088e-05/0.9724, allocations: 0 / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.9724, allocations: 11.98 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.9724, allocations: 0 / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.045e-05/0.9725, allocations: 91.27 kB / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9725, allocations: 0 / 1.173 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002519/0.9728, allocations: 36 kB / 1.173 GB, free: 13.37 MB / 0.9044 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.0001683/0.9729, allocations: 103.2 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.9733, allocations: 250.6 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9733, allocations: 0 / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.706e-05/0.9734, allocations: 28.38 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.9736, allocations: 20.38 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000433/0.9741, allocations: 196.4 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.9746, allocations: 0.6884 MB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.9746, allocations: 11.44 kB / 1.174 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.9746, allocations: 3.938 kB / 1.174 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of Templates: time 0.00385/0.9785, allocations: 1.396 MB / 1.176 GB, free: 10.61 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Xor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches