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: 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.001276/0.001276, allocations: 103.3 kB / 16.41 MB, free: 6.461 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.00124/0.001241, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.492/2.492, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6796, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001737/0.6814, allocations: 0.6527 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.6827, allocations: 1.194 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.6828, allocations: 4 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.6828, allocations: 0 / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.6829, allocations: 15.8 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.6836, allocations: 218.5 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.6838, allocations: 183.8 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.6839, allocations: 7.984 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.684, allocations: 71.83 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.6841, allocations: 67.77 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.6842, allocations: 20 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.758e-05/0.6843, allocations: 31.98 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.6843, allocations: 11.94 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.6844, allocations: 55.88 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.6846, allocations: 147.6 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.6846, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6846, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.6846, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 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.0004798/0.6851, allocations: 432.5 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6851, allocations: 12.02 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.087e-05/0.6852, allocations: 16.84 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.6853, allocations: 168.3 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.6853, allocations: 16.31 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.6854, allocations: 8.375 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.6855, allocations: 46.23 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-06/0.6855, allocations: 192 / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.6855, allocations: 7.938 kB / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.6855, allocations: 0 / 1.212 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.6856, allocations: 19.98 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.686, allocations: 352.7 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.176e-05/0.6861, allocations: 38.45 kB / 1.212 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.14e-05/0.6861, allocations: 20.94 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.6862, allocations: 3.984 kB / 1.212 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.6863, allocations: 75.38 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.086e-06/0.6863, allocations: 4 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0002328/0.6866, allocations: 113.5 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.6866, allocations: 51.41 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.542e-05/0.6867, allocations: 129.7 kB / 1.212 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.6868, allocations: 29.7 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.062e-05/0.6868, allocations: 92.05 kB / 1.213 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.6868, allocations: 15.89 kB / 1.213 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.6869, allocations: 45.69 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.786e-05/0.687, allocations: 322.8 kB / 1.213 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000132/0.6872, allocations: 55.97 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.6873, allocations: 96.25 kB / 1.213 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.6875, allocations: 163.5 kB / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6875, allocations: 0 / 1.213 GB, free: 8.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003812/0.6879, allocations: 264.8 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.6879, allocations: 67.39 kB / 1.214 GB, free: 8.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.688, allocations: 4 kB / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.688, allocations: 0 / 1.214 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.122e-05/0.688, allocations: 4 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.688, allocations: 0 / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.6883, allocations: 59.91 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.6884, allocations: 20.05 kB / 1.214 GB, free: 7.938 MB / 0.9356 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.268e-05/0.6885, allocations: 125.7 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.6885, allocations: 4 kB / 1.214 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.6885, allocations: 8.375 kB / 1.214 GB, free: 7.789 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6885, allocations: 8.469 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.6885, allocations: 0 / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.6886, allocations: 3.984 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.6887, allocations: 181.5 kB / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6887, allocations: 0 / 1.214 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.797e-06/0.6887, allocations: 3.938 kB / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.6887, allocations: 0 / 1.214 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.6887, allocations: 7.984 kB / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6887, allocations: 0 / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6887, allocations: 320 / 1.214 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.6889, allocations: 121 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.6889, allocations: 81.02 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.6889, allocations: 8 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.689, allocations: 3.938 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.665e-05/0.689, allocations: 7.984 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.689, allocations: 4 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.6891, allocations: 87.27 kB / 1.214 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6891, allocations: 4 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002309/0.6893, allocations: 28 kB / 1.214 GB, free: 7.164 MB / 0.9356 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.0001391/0.6894, allocations: 107.2 kB / 1.214 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000314/0.6898, allocations: 254.6 kB / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6898, allocations: 0 / 1.215 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.6898, allocations: 31.92 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.6901, allocations: 21.89 kB / 1.215 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.6904, allocations: 188.4 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.6906, allocations: 0.6885 MB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.6906, allocations: 11.44 kB / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.6906, allocations: 0 / 1.216 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of Templates: time 0.002813/0.6934, allocations: 1.399 MB / 1.217 GB, free: 4.402 MB / 0.9356 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 -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