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.001492/0.001492, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001637/0.001637, allocations: 191 kB / 17.29 MB, free: 5.516 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.58 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001937/0.2911, allocations: 0.6154 MB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2924, allocations: 1.119 MB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.012e-05/0.2925, allocations: 0 / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.481e-05/0.2925, allocations: 0 / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.2926, allocations: 11.92 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.2931, allocations: 127.2 kB / 1.029 GB, free: 168 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.2932, allocations: 91.83 kB / 1.029 GB, free: 76 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.553e-05/0.2933, allocations: 8 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.2934, allocations: 31.97 kB / 1.029 GB, free: 36 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.753e-05/0.2935, allocations: 35.83 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.2935, allocations: 8.047 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.105e-05/0.2936, allocations: 23.94 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.2936, allocations: 4 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.2937, allocations: 31.91 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2938, allocations: 75.8 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2938, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2938, allocations: 0 / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.2938, allocations: 0 / 1.029 GB, free: 15.86 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.0004255/0.2943, allocations: 381.2 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2943, allocations: 8.031 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.2944, allocations: 8.844 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.2945, allocations: 176.4 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.2945, allocations: 384 / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.2945, allocations: 8.375 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.123e-05/0.2946, allocations: 42.19 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-06/0.2946, allocations: 192 / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.2947, allocations: 3.938 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2947, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.2947, allocations: 11.98 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.2951, allocations: 292.9 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.461e-05/0.2951, allocations: 26.45 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.2951, allocations: 4.859 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.2951, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.2953, allocations: 59.45 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2953, allocations: 0 / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001627/0.2954, allocations: 65.58 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.2955, allocations: 63.34 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.2956, allocations: 101.8 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2956, allocations: 33.7 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.2957, allocations: 92.06 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.069e-05/0.2957, allocations: 3.906 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.2957, allocations: 29.7 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.2958, allocations: 314.8 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.2959, allocations: 31.98 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.296, allocations: 50.55 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.81e-05/0.2961, allocations: 84.14 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2961, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002305/0.2963, allocations: 143.3 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/0.2964, allocations: 36.61 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2964, allocations: 4 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2964, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.654e-05/0.2964, allocations: 4 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.2964, allocations: 3.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.2966, allocations: 31.81 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.2967, allocations: 8 kB / 1.031 GB, free: 13.51 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 8.499e-05/0.2968, allocations: 117.7 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.2968, allocations: 8 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/0.2968, allocations: 7.734 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2968, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.2968, allocations: 7.969 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2968, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.297, allocations: 161.6 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.297, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-06/0.297, allocations: 3.938 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.297, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.297, allocations: 0 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.297, allocations: 320 / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.297, allocations: 8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.2971, allocations: 85.05 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.2972, allocations: 81.02 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2972, allocations: 0 / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.2972, allocations: 7.938 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.2972, allocations: 0 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.2972, allocations: 3.984 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.264e-05/0.2973, allocations: 87.28 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2973, allocations: 0 / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002087/0.2975, allocations: 16 kB / 1.031 GB, free: 12.82 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.0001506/0.2977, allocations: 103.2 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.2979, allocations: 119.3 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2979, allocations: 4 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.481e-05/0.2979, allocations: 7.984 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2981, allocations: 28.05 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.2984, allocations: 118.1 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.2986, allocations: 0.6768 MB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.849e-05/0.2987, allocations: 4 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.363e-05/0.2987, allocations: 7.438 kB / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2987, allocations: 0 / 1.032 GB, free: 11.69 MB / 0.8106 GB Notification: Performance of Templates: time 0.0032/0.3019, allocations: 1.038 MB / 1.033 GB, free: 10.66 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 -s gbode -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