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.001498/0.001498, allocations: 113.4 kB / 16.42 MB, free: 6.5 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.001628/0.001628, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.384/1.384, 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 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 63.91 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9869/0.9883, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0017/0.99, allocations: 0.6685 MB / 1.089 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.9913, allocations: 1.191 MB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.9914, allocations: 1.219 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.9914, allocations: 4.594 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.949e-05/0.9915, allocations: 11.89 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006487/0.9922, allocations: 216.8 kB / 1.091 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.9924, allocations: 187.8 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.9925, allocations: 11.84 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.9926, allocations: 71.06 kB / 1.091 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.9928, allocations: 59.64 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.9928, allocations: 15.12 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.9929, allocations: 37.41 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.993, allocations: 9.047 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.647e-05/0.993, allocations: 58.61 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.9933, allocations: 156.2 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.9933, allocations: 0 / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9933, allocations: 1.062 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.9933, allocations: 0 / 1.091 GB, free: 3.887 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.0004532/0.9938, allocations: 428.1 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.9938, allocations: 10.42 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.9939, allocations: 15.97 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.557e-05/0.994, allocations: 168.1 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.994, allocations: 6.297 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.9941, allocations: 9.953 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.9942, allocations: 53.45 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9942, allocations: 1.031 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.9942, allocations: 5.516 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-06/0.9942, allocations: 0 / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.407e-05/0.9943, allocations: 19.45 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004576/0.9947, allocations: 359.6 kB / 1.092 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.734e-05/0.9948, allocations: 39.3 kB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.9948, allocations: 16.91 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.9949, allocations: 1.422 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/0.995, allocations: 86.53 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.995, allocations: 4 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000245/0.9953, allocations: 100.5 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.9953, allocations: 53.11 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.735e-05/0.9954, allocations: 120.6 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.9954, allocations: 34.11 kB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.9955, allocations: 93.92 kB / 1.093 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.467e-05/0.9955, allocations: 11.38 kB / 1.093 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.9956, allocations: 49.39 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.9957, allocations: 326.2 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.9958, allocations: 61.02 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.9959, allocations: 93.53 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.9961, allocations: 163.1 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9961, allocations: 0 / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000423/0.9965, allocations: 262.6 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.9966, allocations: 68.78 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.9966, allocations: 1.562 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.9966, allocations: 1.969 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.231e-05/0.9967, allocations: 10.81 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.9967, allocations: 2.359 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.997, allocations: 59.59 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.9971, allocations: 11.88 kB / 1.094 GB, free: 1.605 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 8.015e-05/0.9972, allocations: 123.5 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.9972, allocations: 3.984 kB / 1.094 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.9972, allocations: 9.984 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9972, allocations: 13.11 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9972, allocations: 0 / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.9972, allocations: 83.62 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.9973, allocations: 2.266 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.508e-05/0.9973, allocations: 9.344 kB / 1.094 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/0.9974, allocations: 10.44 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001446/0.9975, allocations: 165.1 kB / 1.094 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001364/0.9977, allocations: 256.9 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.326e-05/0.9977, allocations: 25.86 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.148e-05/0.9977, allocations: 93.14 kB / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of Backend: time 4.01e-07/0.9977, allocations: 0 / 1.095 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005499/0.9983, allocations: 304.6 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003919/0.9987, allocations: 0.6111 MB / 1.096 GB, free: 68 kB / 0.8575 GB Notification: Performance of Templates: time 0.004638/1.003, allocations: 1.913 MB / 1.097 GB, free: 15.89 MB / 0.8731 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/jenkins1/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