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.001174/0.001174, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001383/0.001383, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.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.834/2.834, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004549, allocations: 8 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7948/0.7952, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.0009412/0.7962, allocations: 396.8 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.7979, allocations: 1.167 MB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.7979, allocations: 0 / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.798, allocations: 3.938 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.7981, allocations: 11.92 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006422/0.7987, allocations: 188.6 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.7989, allocations: 135.8 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.799, allocations: 15.94 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.318e-05/0.7991, allocations: 55.89 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.7992, allocations: 47.86 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.7992, allocations: 12 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.941e-05/0.7993, allocations: 19.98 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.7994, allocations: 11.92 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.7994, allocations: 41.64 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.7996, allocations: 103.8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7996, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7996, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7996, allocations: 4 kB / 1.025 GB, free: 13.8 MB / 0.7794 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.0004742/0.8001, allocations: 412.5 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.8001, allocations: 8.031 kB / 1.025 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.8002, allocations: 12 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.8003, allocations: 167 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.8004, allocations: 4 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.8004, allocations: 8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.8005, allocations: 57.62 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.8005, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.8006, allocations: 4 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.8006, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.8006, allocations: 19.92 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004855/0.8011, allocations: 360.7 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.848e-05/0.8012, allocations: 34.67 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.436e-05/0.8012, allocations: 16.84 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.8012, allocations: 4 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.8014, allocations: 87.31 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.8014, allocations: 3.938 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002472/0.8017, allocations: 101.6 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.8018, allocations: 55.41 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/0.8019, allocations: 118 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.8019, allocations: 33.7 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.085e-05/0.802, allocations: 96.22 kB / 1.026 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.802, allocations: 15.89 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.802, allocations: 4 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.8022, allocations: 314.8 kB / 1.026 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.8023, allocations: 67.89 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.8025, allocations: 88.27 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.8026, allocations: 115.3 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8026, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004068/0.8031, allocations: 264.9 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.51e-05/0.8031, allocations: 67.39 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8031, allocations: 4 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.8032, allocations: 7.984 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.495e-05/0.8032, allocations: 12.05 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8032, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.8036, allocations: 80.25 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.012e-05/0.8036, allocations: 15.98 kB / 1.027 GB, free: 10.91 MB / 0.7794 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,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,xor1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.8037, allocations: 127.5 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/0.8038, allocations: 4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.8038, allocations: 8.375 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.8038, allocations: 3.938 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.088e-06/0.8038, allocations: 3.984 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8038, allocations: 4 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.804, allocations: 177.5 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.804, allocations: 3.953 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.804, allocations: 7.938 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.804, allocations: 3.984 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.804, allocations: 4 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.804, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.804, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.8042, allocations: 105.4 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.8042, allocations: 92.97 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.8042, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.8043, allocations: 0 / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/0.8043, allocations: 7.984 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.8043, allocations: 8 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.8044, allocations: 95.2 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8044, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002365/0.8046, allocations: 28 kB / 1.028 GB, free: 10.14 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001745/0.8048, allocations: 111.2 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.8052, allocations: 246.8 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8052, allocations: 0 / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.8052, allocations: 24 kB / 1.028 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.8055, allocations: 15.98 kB / 1.028 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.8058, allocations: 175.5 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.8061, allocations: 0.6887 MB / 1.029 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.8061, allocations: 4 kB / 1.029 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.8062, allocations: 11.44 kB / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8062, allocations: 0 / 1.029 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of Templates: time 0.00474/0.8109, allocations: 1.698 MB / 1.031 GB, free: 7.121 MB / 0.7794 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/jenkins/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