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.001241/0.001241, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001249/0.001249, allocations: 189.5 kB / 16.14 MB, free: 6.645 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.398/1.398, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7342 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 68.14 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3303, allocations: 157.4 MB / 1.052 GB, free: 8.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002054/0.3324, allocations: 0.7193 MB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.334, allocations: 1.225 MB / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.3341, allocations: 0 / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.3341, allocations: 0 / 1.054 GB, free: 6.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.166e-05/0.3342, allocations: 7.938 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.3349, allocations: 201.9 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.3351, allocations: 151.7 kB / 1.054 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3352, allocations: 15.97 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.935e-05/0.3353, allocations: 63.83 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3354, allocations: 51.86 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.3355, allocations: 8 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.891e-05/0.3356, allocations: 19.98 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.52e-05/0.3356, allocations: 8 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.3357, allocations: 51.81 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.336, allocations: 143.7 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.336, allocations: 7.938 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.383e-06/0.336, allocations: 0 / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.336, allocations: 0 / 1.055 GB, free: 6.156 MB / 0.8106 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.0006522/0.3366, allocations: 436 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3367, allocations: 12.02 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.3368, allocations: 16.84 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.3369, allocations: 168.4 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3369, allocations: 4.375 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.337, allocations: 8.375 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.3371, allocations: 58.17 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3371, allocations: 4.188 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3371, allocations: 3.938 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3372, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.3372, allocations: 15.98 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.3377, allocations: 360.6 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.3378, allocations: 42.45 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.3378, allocations: 16.94 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3379, allocations: 11.92 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.3381, allocations: 75.38 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3381, allocations: 4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002485/0.3383, allocations: 105.5 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3384, allocations: 55.41 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.3385, allocations: 121.8 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.3385, allocations: 29.7 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.3386, allocations: 92.12 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.3386, allocations: 19.8 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3387, allocations: 45.69 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3388, allocations: 322.8 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.339, allocations: 63.95 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3391, allocations: 88.27 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.3393, allocations: 163.5 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3393, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004136/0.3397, allocations: 269.2 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.046e-05/0.3398, allocations: 72.8 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.3398, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3398, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.22e-05/0.3399, allocations: 4 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3399, allocations: 3.938 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.3402, allocations: 56.06 kB / 1.057 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.3403, allocations: 15.98 kB / 1.057 GB, free: 3.145 MB / 0.8106 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.0001328/0.3404, allocations: 125.7 kB / 1.057 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.3405, allocations: 3.906 kB / 1.057 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.3405, allocations: 20.3 kB / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3405, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3405, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3405, allocations: 0 / 1.057 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.3407, allocations: 177.6 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3407, allocations: 4 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.3407, allocations: 12.06 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3407, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.3407, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3407, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3407, allocations: 0 / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3409, allocations: 116.9 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3409, allocations: 85.02 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.341, allocations: 4 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.214e-05/0.341, allocations: 3.984 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.341, allocations: 11.94 kB / 1.058 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.3411, allocations: 4 kB / 1.058 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.3411, allocations: 91.27 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3411, allocations: 0 / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002343/0.3414, allocations: 32 kB / 1.058 GB, free: 2.371 MB / 0.8106 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.0001759/0.3415, allocations: 103.2 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003489/0.3419, allocations: 250.6 kB / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3419, allocations: 0 / 1.058 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.342, allocations: 24 kB / 1.058 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.3422, allocations: 24.14 kB / 1.058 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.3426, allocations: 175.2 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.3429, allocations: 0.6887 MB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.994e-05/0.343, allocations: 4 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.156e-05/0.343, allocations: 11.44 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.343, allocations: 0 / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of Templates: time 0.00431/0.3473, allocations: 1.763 MB / 1.061 GB, free: 15.28 MB / 0.8262 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/jenkins/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