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.001338/0.001338, allocations: 104.3 kB / 16.4 MB, free: 5.977 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.001295/0.001295, allocations: 188.8 kB / 17.34 MB, free: 5.586 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.1 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.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001445, allocations: 67.89 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7745/0.776, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001576/0.7776, allocations: 0.6557 MB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.7788, allocations: 1.187 MB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.065e-05/0.7788, allocations: 1.156 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.435e-05/0.7789, allocations: 4.453 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.085e-05/0.7789, allocations: 15.58 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.7795, allocations: 219.2 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.7797, allocations: 179.9 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.214e-05/0.7798, allocations: 14.8 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.141e-05/0.7799, allocations: 72.33 kB / 1.091 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.78, allocations: 58.34 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.7801, allocations: 15.53 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.907e-05/0.7802, allocations: 34.17 kB / 1.091 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.7802, allocations: 16.75 kB / 1.091 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.127e-05/0.7803, allocations: 52.88 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.7805, allocations: 157 kB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7805, allocations: 4.75 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7805, allocations: 0 / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.7806, allocations: 0.7188 kB / 1.091 GB, free: 3.891 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.0004212/0.781, allocations: 429.5 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.781, allocations: 9.188 kB / 1.092 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.7811, allocations: 12.12 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.422e-05/0.7812, allocations: 169 kB / 1.092 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.7812, allocations: 9.125 kB / 1.092 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.7812, allocations: 14.38 kB / 1.092 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.881e-05/0.7813, allocations: 53.59 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7813, allocations: 1.125 kB / 1.092 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.7813, allocations: 4.5 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.7814, allocations: 1.562 kB / 1.092 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.419e-05/0.7814, allocations: 18.36 kB / 1.092 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.7818, allocations: 347.3 kB / 1.092 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.7819, allocations: 48 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.7819, allocations: 21.11 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.782, allocations: 1.453 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.7821, allocations: 85.61 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.7821, allocations: 0 / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002422/0.7824, allocations: 109.6 kB / 1.093 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.7824, allocations: 57.81 kB / 1.093 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.7825, allocations: 116.2 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.7825, allocations: 33.73 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.472e-05/0.7826, allocations: 94.02 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.615e-05/0.7826, allocations: 15.52 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.344e-05/0.7827, allocations: 48.47 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.7827, allocations: 319.7 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.7829, allocations: 60.25 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.783, allocations: 106 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.7832, allocations: 158.3 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.7832, allocations: 1.375 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003956/0.7836, allocations: 265.4 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.7837, allocations: 68.47 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.7837, allocations: 1.5 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7837, allocations: 2.797 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.041e-05/0.7837, allocations: 2.375 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.7837, allocations: 1.812 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.7841, allocations: 56.89 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.7841, allocations: 19.33 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 7.487e-05/0.7842, allocations: 123.7 kB / 1.094 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.7842, allocations: 6.984 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.7842, allocations: 6.672 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.7843, allocations: 1.531 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.7843, allocations: 0 / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7843, allocations: 1.484 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.7844, allocations: 179.5 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.7844, allocations: 0 / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.7844, allocations: 6.328 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7844, allocations: 4.594 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.7844, allocations: 2.234 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.7844, allocations: 0.625 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.7844, allocations: 1.25 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.7846, allocations: 115.9 kB / 1.094 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.7846, allocations: 83.41 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.7846, allocations: 2.172 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.404e-05/0.7846, allocations: 9.406 kB / 1.094 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.7847, allocations: 14.55 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.7847, allocations: 3.719 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.094e-05/0.7847, allocations: 89.3 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7847, allocations: 0 / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002437/0.785, allocations: 32.61 kB / 1.095 GB, free: 0.9727 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.0001223/0.7851, allocations: 101.6 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.7854, allocations: 257.6 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7854, allocations: 0 / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.7855, allocations: 28.45 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.7857, allocations: 16 kB / 1.095 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.786, allocations: 183.7 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.7862, allocations: 0.6897 MB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.394e-05/0.7863, allocations: 15.78 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.7863, allocations: 0.6875 kB / 1.096 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of Templates: time 0.003344/0.7896, allocations: 1.404 MB / 1.097 GB, free: 15.67 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