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.001564/0.001564, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.455/1.455, allocations: 222.9 MB / 240.2 MB, free: 4.352 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.626/2.626, allocations: 437 MB / 0.7103 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.91 kB / 0.8692 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6935, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002122/0.6956, allocations: 0.656 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001697/0.6974, allocations: 1.179 MB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.984e-05/0.6974, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/0.6975, allocations: 3.938 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001051/0.6976, allocations: 23.84 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007326/0.6984, allocations: 214.8 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002203/0.6986, allocations: 179.7 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.6987, allocations: 15.98 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.992e-05/0.6988, allocations: 67.89 kB / 1.02 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.6989, allocations: 51.86 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 3.858e-05/0.699, allocations: 16 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.6991, allocations: 35.91 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.6991, allocations: 8 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.6993, allocations: 55.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.6995, allocations: 155.6 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.6995, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6995, allocations: 3.938 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.6995, allocations: 0 / 1.02 GB, free: 15.83 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.0005861/0.7001, allocations: 436.7 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.7001, allocations: 12.03 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.523e-05/0.7002, allocations: 4.938 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.7003, allocations: 176.2 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.7004, allocations: 8.359 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.7004, allocations: 16.38 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.7005, allocations: 46.23 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.7006, allocations: 192 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.7006, allocations: 7.875 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.7006, allocations: 0 / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.7006, allocations: 24 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004567/0.7011, allocations: 348.8 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.159e-05/0.7012, allocations: 38.45 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.7012, allocations: 20.94 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.7012, allocations: 3.938 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.7014, allocations: 91.25 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.7014, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0002515/0.7017, allocations: 101.7 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.7017, allocations: 51.41 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.651e-05/0.7018, allocations: 125.7 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/0.7018, allocations: 29.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.7019, allocations: 92.14 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.7019, allocations: 15.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.71e-05/0.702, allocations: 53.69 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7021, allocations: 318.8 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.7023, allocations: 63.97 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.7024, allocations: 96.25 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.7026, allocations: 159.6 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7026, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004303/0.7031, allocations: 261.3 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.215e-05/0.7032, allocations: 72.89 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7032, allocations: 0 / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.646e-05/0.7032, allocations: 12.05 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.612e-05/0.7032, allocations: 7.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.7032, allocations: 4 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.7036, allocations: 51.88 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.7037, allocations: 15.98 kB / 1.023 GB, free: 12.82 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.0001244/0.7038, allocations: 121.8 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.587e-05/0.7038, allocations: 11.91 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.973e-05/0.7039, allocations: 12.36 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.7039, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7039, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.7039, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.7041, allocations: 173.6 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7041, allocations: 0 / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.059e-05/0.7041, allocations: 7.922 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7041, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.7041, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7041, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7041, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.7043, allocations: 116.9 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.7043, allocations: 77.11 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.7043, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.935e-05/0.7044, allocations: 4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.7044, allocations: 7.984 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.7044, allocations: 0 / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.092e-05/0.7045, allocations: 95.27 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7045, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000239/0.7047, allocations: 32 kB / 1.023 GB, free: 12.06 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.0001898/0.7049, allocations: 107.2 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.7053, allocations: 250.6 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7053, allocations: 288 / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.952e-05/0.7054, allocations: 24 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.7056, allocations: 32.3 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.7061, allocations: 170.6 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.7064, allocations: 0.6846 MB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.801e-05/0.7064, allocations: 8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.7065, allocations: 11.44 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.7065, allocations: 0 / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.004793/0.7113, allocations: 1.856 MB / 1.026 GB, free: 8.859 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