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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001693/0.001693, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001707/0.001707, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.511/2.511, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.97 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2998, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002023/0.3018, allocations: 0.6619 MB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3034, allocations: 1.196 MB / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.3034, allocations: 0 / 1.021 GB, free: 7.988 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.182e-05/0.3035, allocations: 3.938 kB / 1.021 GB, free: 7.984 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.749e-05/0.3036, allocations: 15.91 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000645/0.3042, allocations: 214.3 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.3045, allocations: 183.7 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3046, allocations: 15.97 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.829e-05/0.3047, allocations: 63.91 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.3048, allocations: 63.83 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.3048, allocations: 16 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.3049, allocations: 27.98 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.3049, allocations: 11.94 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.979e-05/0.305, allocations: 55.81 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.3053, allocations: 151.7 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3053, allocations: 4 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3053, allocations: 0 / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3053, allocations: 0 / 1.021 GB, free: 7.184 MB / 0.795 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.0005329/0.3058, allocations: 438.6 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3059, allocations: 8.922 kB / 1.022 GB, free: 6.684 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.3059, allocations: 16.78 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.306, allocations: 164.4 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.3061, allocations: 8.359 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.3061, allocations: 8.375 kB / 1.022 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.3062, allocations: 50.25 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3062, allocations: 192 / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3063, allocations: 11.88 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3063, allocations: 0 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.3063, allocations: 19.97 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.3068, allocations: 356.6 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.241e-05/0.3069, allocations: 34.52 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.861e-05/0.3069, allocations: 20.94 kB / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.3069, allocations: 0 / 1.022 GB, free: 5.902 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.3071, allocations: 91.25 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.3071, allocations: 0 / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0002498/0.3074, allocations: 101.6 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.3074, allocations: 55.41 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.881e-05/0.3075, allocations: 117.8 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.3075, allocations: 37.7 kB / 1.023 GB, free: 5.461 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.3076, allocations: 88.14 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.3076, allocations: 11.81 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.3077, allocations: 45.69 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3078, allocations: 326.8 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3079, allocations: 59.91 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3081, allocations: 96.25 kB / 1.023 GB, free: 4.812 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3083, allocations: 155.6 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3083, allocations: 480 / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00042/0.3087, allocations: 268.8 kB / 1.024 GB, free: 4.352 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.3088, allocations: 70.2 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3088, allocations: 0 / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3088, allocations: 4 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.343e-05/0.3089, allocations: 3.984 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3089, allocations: 7.938 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.3092, allocations: 51.94 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/0.3092, allocations: 16.02 kB / 1.024 GB, free: 4.191 MB / 0.795 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.0001112/0.3093, allocations: 126.4 kB / 1.024 GB, free: 4.059 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.3094, allocations: 7.906 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/0.3094, allocations: 8.375 kB / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3094, allocations: 0 / 1.024 GB, free: 4.039 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.3094, allocations: 4 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3094, allocations: 0 / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.3096, allocations: 181.6 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3096, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-06/0.3096, allocations: 4 kB / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3096, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.3096, allocations: 0 / 1.024 GB, free: 3.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3096, allocations: 4 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3096, allocations: 0 / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.3098, allocations: 116.8 kB / 1.024 GB, free: 3.668 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.3098, allocations: 85.02 kB / 1.025 GB, free: 3.566 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/0.3099, allocations: 3.984 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.3099, allocations: 8 kB / 1.025 GB, free: 3.555 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.3099, allocations: 4 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.31, allocations: 12.05 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.086e-05/0.31, allocations: 87.28 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.31, allocations: 0 / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002311/0.3102, allocations: 36 kB / 1.025 GB, free: 3.418 MB / 0.795 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.0001554/0.3104, allocations: 103.2 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.3107, allocations: 254.7 kB / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3107, allocations: 288 / 1.025 GB, free: 3.035 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.3108, allocations: 27.92 kB / 1.025 GB, free: 3.008 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.311, allocations: 20.47 kB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003161/0.3113, allocations: 150.8 kB / 1.025 GB, free: 2.812 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.3116, allocations: 0.6847 MB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.428e-05/0.3116, allocations: 8 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.3116, allocations: 15.42 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.3116, allocations: 0 / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of Templates: time 0.004161/0.3158, allocations: 1.843 MB / 1.028 GB, free: 268 kB / 0.795 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 -s cvode -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