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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001731/0.001731, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.002008/0.002008, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.447/1.447, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.767/2.767, allocations: 437.1 MB / 0.7107 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 71.88 kB / 0.8694 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5912/0.5931, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002074/0.5952, allocations: 0.7403 MB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.5969, allocations: 1.179 MB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.5969, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.597, allocations: 0 / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.301e-05/0.5971, allocations: 11.92 kB / 1.019 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006705/0.5977, allocations: 201.4 kB / 1.02 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.598, allocations: 183.7 kB / 1.02 GB, free: 396 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.875e-05/0.5981, allocations: 15.98 kB / 1.02 GB, free: 380 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.75e-05/0.5982, allocations: 71.81 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.5983, allocations: 47.88 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.5983, allocations: 16 kB / 1.02 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.34e-05/0.5984, allocations: 35.97 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.5985, allocations: 8 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.5985, allocations: 51.83 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.5987, allocations: 103.8 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5987, allocations: 4 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5987, allocations: 0 / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.5988, allocations: 0 / 1.02 GB, free: 40 kB / 0.7637 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.0006444/0.5994, allocations: 440.7 kB / 1.021 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.5995, allocations: 12.03 kB / 1.021 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.5995, allocations: 4.938 kB / 1.021 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.5997, allocations: 180.1 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.5997, allocations: 8.375 kB / 1.021 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.5998, allocations: 8.375 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.5999, allocations: 54.17 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5999, allocations: 192 / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.907e-05/0.5999, allocations: 15.88 kB / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.5999, allocations: 0 / 1.021 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.6, allocations: 15.98 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.6006, allocations: 348.8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.462e-05/0.6007, allocations: 38.45 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.17e-05/0.6007, allocations: 16.94 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.6007, allocations: 8 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.6009, allocations: 87.28 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.6009, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002823/0.6012, allocations: 109.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.6012, allocations: 55.39 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.6014, allocations: 117.8 kB / 1.022 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.6014, allocations: 29.7 kB / 1.022 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.464e-05/0.6015, allocations: 96.14 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.6015, allocations: 15.8 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.6016, allocations: 49.69 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6018, allocations: 318.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.6019, allocations: 59.95 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001716/0.6021, allocations: 96.2 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.6023, allocations: 160.1 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6024, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004665/0.6028, allocations: 268.7 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.452e-05/0.6029, allocations: 67.52 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6029, allocations: 4 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.207e-05/0.603, allocations: 4 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.632e-05/0.603, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.603, allocations: 4 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000371/0.6034, allocations: 55.88 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.6034, allocations: 11.98 kB / 1.023 GB, free: 13.03 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,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.0001346/0.6036, allocations: 130.2 kB / 1.023 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.6036, allocations: 11.89 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.6036, allocations: 8.375 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.6036, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6036, allocations: 7.938 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6036, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.6038, allocations: 181.6 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6038, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.288e-06/0.6039, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.6039, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.6039, allocations: 8 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6039, allocations: 4 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6039, allocations: 0 / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.6041, allocations: 116.9 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.6041, allocations: 77.11 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.6042, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.775e-05/0.6042, allocations: 7.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.6042, allocations: 7.984 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.6042, allocations: 12.06 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.847e-05/0.6043, allocations: 95.2 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6043, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003139/0.6047, allocations: 28 kB / 1.023 GB, free: 12.25 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 (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.0001827/0.6049, allocations: 111.2 kB / 1.024 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003982/0.6053, allocations: 250.6 kB / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6053, allocations: 256 / 1.024 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.857e-05/0.6053, allocations: 35.91 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.6056, allocations: 15.98 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.606, allocations: 196.9 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.6063, allocations: 0.6885 MB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.6064, allocations: 11.44 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.6064, allocations: 0 / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of Templates: time 0.003636/0.61, allocations: 1.4 MB / 1.026 GB, free: 9.477 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=400 -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/jenkins1/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