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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001585/0.001585, allocations: 108.1 kB / 16.37 MB, free: 6.477 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.001688/0.001688, allocations: 194.7 kB / 17.31 MB, free: 5.824 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 437.1 MB / 0.7112 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 60.47 kB / 0.8707 GB, free: 1.484 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4389, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002807/0.4417, allocations: 0.6627 MB / 1.019 GB, free: 9.227 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.444, allocations: 1.2 MB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/0.4441, allocations: 0 / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.513e-05/0.4441, allocations: 3.938 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.68e-05/0.4443, allocations: 11.88 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009628/0.4452, allocations: 214.2 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.4456, allocations: 187.7 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.4457, allocations: 11.92 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.4459, allocations: 63.91 kB / 1.021 GB, free: 7.535 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.4461, allocations: 71.83 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.4462, allocations: 12 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4463, allocations: 31.98 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.33e-05/0.4464, allocations: 15.92 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.4465, allocations: 51.89 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.4468, allocations: 159.5 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4468, allocations: 0 / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4468, allocations: 0 / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4468, allocations: 0 / 1.021 GB, free: 7.199 MB / 0.795 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.0007157/0.4476, allocations: 438.6 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.4476, allocations: 12.03 kB / 1.022 GB, free: 6.695 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.099e-05/0.4477, allocations: 16.84 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.4479, allocations: 164.4 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.448, allocations: 8.375 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.448, allocations: 8.375 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.4482, allocations: 50.23 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4482, allocations: 192 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.4482, allocations: 7.938 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4482, allocations: 3.938 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.4483, allocations: 19.97 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006957/0.449, allocations: 360.7 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.4492, allocations: 30.52 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.4492, allocations: 20.94 kB / 1.023 GB, free: 5.914 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.4493, allocations: 3.938 kB / 1.023 GB, free: 5.91 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.4495, allocations: 83.31 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.4495, allocations: 0 / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.000369/0.4499, allocations: 109.6 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.45, allocations: 59.39 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.4501, allocations: 121.7 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.4502, allocations: 29.7 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.04e-05/0.4503, allocations: 88.14 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/0.4504, allocations: 19.8 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.4505, allocations: 45.69 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4507, allocations: 326.8 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.4509, allocations: 59.95 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.4512, allocations: 88.27 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.4515, allocations: 159.6 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.4515, allocations: 4 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007008/0.4522, allocations: 264.8 kB / 1.024 GB, free: 4.355 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/0.4523, allocations: 71.39 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4523, allocations: 0 / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4523, allocations: 0 / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.393e-05/0.4524, allocations: 7.938 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4524, allocations: 4.125 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.4529, allocations: 47.94 kB / 1.024 GB, free: 4.215 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.453, allocations: 19.98 kB / 1.024 GB, free: 4.195 MB / 0.795 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.0001406/0.4531, allocations: 125.7 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.4532, allocations: 4.375 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.4532, allocations: 16.38 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.4532, allocations: 3.984 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4533, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4533, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.4535, allocations: 177.5 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4535, allocations: 0 / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.4535, allocations: 15.98 kB / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4536, allocations: 0 / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4536, allocations: 0 / 1.024 GB, free: 3.797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4536, allocations: 3.938 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4536, allocations: 0 / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.4538, allocations: 117 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.4539, allocations: 85.02 kB / 1.025 GB, free: 3.559 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4539, allocations: 4 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.506e-05/0.454, allocations: 0 / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.454, allocations: 7.984 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.4541, allocations: 8 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.431e-05/0.4542, allocations: 91.27 kB / 1.025 GB, free: 3.449 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4542, allocations: 4 kB / 1.025 GB, free: 3.445 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004468/0.4546, allocations: 32 kB / 1.025 GB, free: 3.414 MB / 0.795 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.0002111/0.4549, allocations: 111.2 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005383/0.4554, allocations: 246.6 kB / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4554, allocations: 0 / 1.025 GB, free: 3.031 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.3e-05/0.4555, allocations: 28 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.4559, allocations: 24.17 kB / 1.025 GB, free: 2.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005103/0.4564, allocations: 147.9 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4568, allocations: 0.6924 MB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.942e-05/0.4568, allocations: 7.938 kB / 1.026 GB, free: 2.082 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/0.4569, allocations: 11.44 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.4569, allocations: 0 / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of Templates: time 0.006639/0.4635, allocations: 1.86 MB / 1.028 GB, free: 244 kB / 0.795 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 -s gbode -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