Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Not,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|not1.u|not1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 100.1 kB / 15.88 MB, free: 12 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.00152/0.00152, allocations: 198.8 kB / 16.79 MB, free: 6.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 68.11 kB / 0.8991 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002459/0.3222, allocations: 0.6765 MB / 1.053 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3241, allocations: 1.124 MB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.3242, allocations: 0 / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.879e-05/0.3243, allocations: 0 / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.844e-05/0.3244, allocations: 11.97 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005533/0.325, allocations: 110.9 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.3251, allocations: 75.83 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3253, allocations: 4 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.3254, allocations: 31.92 kB / 1.055 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.3255, allocations: 23.89 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.3255, allocations: 8 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.3256, allocations: 15.98 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.3256, allocations: 7.984 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.845e-05/0.3257, allocations: 27.92 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.3259, allocations: 55.88 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3259, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3259, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3259, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005895/0.3265, allocations: 377.4 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.3266, allocations: 15.97 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.3266, allocations: 8.844 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3268, allocations: 164.4 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.3268, allocations: 8.375 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.3268, allocations: 8.375 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.327, allocations: 38.19 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.327, allocations: 192 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.327, allocations: 3.938 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.327, allocations: 4 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.722e-05/0.327, allocations: 8 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004314/0.3275, allocations: 288.9 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.02e-05/0.3276, allocations: 30.52 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.13e-05/0.3276, allocations: 20.8 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.3276, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.3277, allocations: 55.33 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.3277, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002035/0.3279, allocations: 65.59 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.328, allocations: 59.34 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.3281, allocations: 109.8 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3281, allocations: 25.7 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.3282, allocations: 84.14 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.3282, allocations: 7.891 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.3283, allocations: 33.69 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.3284, allocations: 318.8 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.466e-05/0.3285, allocations: 23.98 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.21e-05/0.3286, allocations: 50.75 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3287, allocations: 88.17 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3287, allocations: 4 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002506/0.329, allocations: 139.3 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.329, allocations: 37.69 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3291, allocations: 4.094 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3291, allocations: 4 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.766e-05/0.3291, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.3291, allocations: 0 / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3293, allocations: 35.81 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/0.3294, allocations: 7.984 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.91e-05/0.3295, allocations: 117.8 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.292e-05/0.3295, allocations: 4 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.3295, allocations: 7.5 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3295, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.3295, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3296, allocations: 4 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.3297, allocations: 161.6 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3297, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-06/0.3297, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.3297, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.3297, allocations: 12.19 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3297, allocations: 0 / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3297, allocations: 8 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001173/0.3299, allocations: 81.05 kB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.3299, allocations: 85.02 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.3299, allocations: 0 / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.33, allocations: 0 / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.33, allocations: 0 / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.33, allocations: 7.938 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.985e-05/0.33, allocations: 87.27 kB / 1.057 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.33, allocations: 4 kB / 1.057 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002124/0.3303, allocations: 12 kB / 1.057 GB, free: 3.031 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001806/0.3304, allocations: 99.25 kB / 1.058 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.3307, allocations: 127.3 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3307, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.3307, allocations: 12 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.3309, allocations: 13.84 kB / 1.058 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.3313, allocations: 153.5 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.3315, allocations: 0.677 MB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.3316, allocations: 11.44 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of SimCode: time 5.21e-07/0.3316, allocations: 3.938 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of Templates: time 0.00269/0.3343, allocations: 0.8404 MB / 1.059 GB, free: 1.023 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches