Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 105.5 kB / 16.41 MB, free: 6.023 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.001181/0.001181, allocations: 189.7 kB / 17.34 MB, free: 5.609 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.527/2.527, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 63.91 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.085/1.087, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002367/1.089, allocations: 0.6664 MB / 1.168 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001856/1.091, allocations: 1.193 MB / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.487e-05/1.091, allocations: 0 / 1.169 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.619e-05/1.091, allocations: 3.938 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/1.092, allocations: 11.88 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/1.093, allocations: 221.4 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003916/1.093, allocations: 187.7 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/1.093, allocations: 4 kB / 1.17 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001648/1.093, allocations: 63.95 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/1.094, allocations: 67.78 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.041e-05/1.094, allocations: 16 kB / 1.17 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/1.094, allocations: 35.98 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/1.094, allocations: 11.92 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/1.094, allocations: 55.83 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002606/1.094, allocations: 151.6 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.094, allocations: 0 / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.623e-06/1.094, allocations: 0 / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.094, allocations: 0 / 1.17 GB, free: 1.148 MB / 0.8887 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.0006647/1.095, allocations: 432.4 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.095, allocations: 20.61 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/1.095, allocations: 12.84 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/1.095, allocations: 168.3 kB / 1.171 GB, free: 444 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/1.095, allocations: 4.375 kB / 1.171 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/1.095, allocations: 16.38 kB / 1.171 GB, free: 424 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/1.095, allocations: 50.17 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/1.095, allocations: 192 / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/1.095, allocations: 3.938 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/1.095, allocations: 0 / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/1.095, allocations: 12 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/1.096, allocations: 356.7 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.58e-05/1.096, allocations: 34.5 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.259e-05/1.096, allocations: 20.8 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/1.096, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/1.096, allocations: 83.45 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/1.096, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0002647/1.097, allocations: 105.6 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/1.097, allocations: 55.34 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.942e-05/1.097, allocations: 113.8 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/1.097, allocations: 33.7 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/1.097, allocations: 100 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/1.097, allocations: 3.906 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/1.097, allocations: 49.69 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.097, allocations: 326.8 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/1.097, allocations: 59.97 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/1.098, allocations: 93.38 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/1.098, allocations: 156.1 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.098, allocations: 3.938 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004342/1.098, allocations: 264.8 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.429e-05/1.098, allocations: 71.39 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/1.098, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.098, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.598e-05/1.098, allocations: 7.938 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.098, allocations: 8.062 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/1.099, allocations: 59.78 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/1.099, allocations: 15.98 kB / 1.173 GB, free: 14.16 MB / 0.9044 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,or1.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.000108/1.099, allocations: 121.8 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.656e-05/1.099, allocations: 7.984 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/1.099, allocations: 16.36 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.099, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.099, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/1.099, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/1.099, allocations: 177.5 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.099, allocations: 4.062 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.151e-05/1.099, allocations: 11.92 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.099, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.126e-06/1.099, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/1.099, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.099, allocations: 320 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/1.099, allocations: 117 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.633e-05/1.099, allocations: 85.02 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/1.099, allocations: 0 / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/1.1, allocations: 4 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/1.1, allocations: 7.984 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/1.1, allocations: 0 / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.479e-05/1.1, allocations: 99.14 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/1.1, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002434/1.1, allocations: 36 kB / 1.173 GB, free: 13.39 MB / 0.9044 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,or1.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.0001794/1.1, allocations: 107.2 kB / 1.173 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004109/1.101, allocations: 246.6 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.101, allocations: 0 / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/1.101, allocations: 23.98 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/1.101, allocations: 20.23 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/1.101, allocations: 196.3 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/1.102, allocations: 0.6846 MB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/1.102, allocations: 11.44 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of SimCode: time 1.834e-06/1.102, allocations: 0 / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.003472/1.105, allocations: 1.383 MB / 1.176 GB, free: 10.66 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Or.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches