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.001863/0.001863, allocations: 105.4 kB / 16.41 MB, free: 6.457 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.00216/0.00216, allocations: 192.2 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.08 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.267/2.267, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 0.9516 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8735/0.8749, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001852/0.8768, allocations: 0.6698 MB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001449/0.8783, allocations: 1.191 MB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.8783, allocations: 1.156 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.8784, allocations: 3.938 kB / 1.09 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.8785, allocations: 15.42 kB / 1.09 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006169/0.8791, allocations: 213.7 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.8794, allocations: 185 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.8795, allocations: 14.81 kB / 1.091 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.8796, allocations: 66.86 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.8797, allocations: 67.59 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.38e-05/0.8798, allocations: 15.34 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.8799, allocations: 29.55 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.8799, allocations: 9.266 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.493e-05/0.88, allocations: 61.94 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.8802, allocations: 151.7 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.8803, allocations: 1.766 kB / 1.091 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8803, allocations: 4 kB / 1.091 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.8803, allocations: 0 / 1.091 GB, free: 3.875 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.000481/0.8808, allocations: 430.6 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.8808, allocations: 10.83 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.8809, allocations: 11.12 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.891e-05/0.881, allocations: 173 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.881, allocations: 5.266 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.881, allocations: 10.81 kB / 1.092 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.8811, allocations: 54.16 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.8811, allocations: 192 / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.8812, allocations: 9.562 kB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.8812, allocations: 0 / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.467e-05/0.8812, allocations: 14.55 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/0.8817, allocations: 355.8 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.518e-05/0.8818, allocations: 44.39 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.207e-05/0.8818, allocations: 16.56 kB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.8818, allocations: 8.781 kB / 1.092 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.882, allocations: 78.69 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.882, allocations: 0 / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002771/0.8823, allocations: 104.9 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.8824, allocations: 53.5 kB / 1.093 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.951e-05/0.8824, allocations: 120.6 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.8825, allocations: 38.14 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.8825, allocations: 94.14 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.8825, allocations: 7.609 kB / 1.093 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.597e-05/0.8826, allocations: 48.77 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/0.8827, allocations: 322.9 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.8828, allocations: 60.22 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.883, allocations: 93.64 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.8832, allocations: 162.4 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8832, allocations: 0.9375 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004382/0.8836, allocations: 258.2 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.8837, allocations: 72.98 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.8837, allocations: 4.625 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.8837, allocations: 3.078 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.475e-05/0.8838, allocations: 6.578 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.8838, allocations: 2.031 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000355/0.8841, allocations: 59.77 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.8842, allocations: 11.81 kB / 1.094 GB, free: 1.598 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.287e-05/0.8843, allocations: 128 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.8843, allocations: 3.641 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.8843, allocations: 14.61 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.8843, allocations: 0.7188 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8843, allocations: 0.7188 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8843, allocations: 0.6094 kB / 1.094 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.8844, allocations: 183.7 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8845, allocations: 0 / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/0.8845, allocations: 10.88 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8845, allocations: 4.656 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.8845, allocations: 2.031 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.8845, allocations: 0.625 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.8845, allocations: 0 / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001461/0.8847, allocations: 113.7 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.449e-05/0.8847, allocations: 86.66 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.8847, allocations: 1.891 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.8847, allocations: 5.641 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.8848, allocations: 11.11 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.8848, allocations: 2.594 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.673e-05/0.8848, allocations: 90.42 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8848, allocations: 0 / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002408/0.8851, allocations: 28.53 kB / 1.095 GB, free: 0.9688 MB / 0.8575 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.0001459/0.8852, allocations: 108.8 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003522/0.8856, allocations: 261.4 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8856, allocations: 0.6562 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.308e-05/0.8857, allocations: 24.83 kB / 1.095 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.8859, allocations: 19.48 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.8863, allocations: 187.5 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.8864, allocations: 0.694 MB / 1.096 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.8865, allocations: 11.03 kB / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8865, allocations: 0 / 1.096 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.003953/0.8904, allocations: 1.401 MB / 1.097 GB, free: 15.66 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