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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 108 kB / 15.6 MB, free: 132 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.00137/0.00137, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.305/1.305, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 469.4 MB / 0.742 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 62.31 kB / 0.9083 GB, free: 34.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 159.1 MB / 1.064 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001964/0.3013, allocations: 0.6091 MB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3028, allocations: 1.113 MB / 1.065 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.3029, allocations: 4 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.3029, allocations: 3.938 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.303, allocations: 3.938 kB / 1.065 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.3034, allocations: 121.9 kB / 1.065 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.3036, allocations: 91.83 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3037, allocations: 11.94 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.3038, allocations: 27.98 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.3039, allocations: 35.88 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/0.3039, allocations: 8 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.659e-05/0.304, allocations: 19.98 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.304, allocations: 8 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.3041, allocations: 23.92 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.3042, allocations: 83.78 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3043, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3043, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.3043, allocations: 0 / 1.066 GB, free: 12.29 MB / 0.8262 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.0005248/0.3048, allocations: 373.4 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3049, allocations: 8.031 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.736e-05/0.3049, allocations: 34.75 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.356e-05/0.3049, allocations: 8.938 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.3052, allocations: 172.3 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3052, allocations: 384 / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.3052, allocations: 8.375 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.871e-05/0.3053, allocations: 38.25 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3053, allocations: 3.938 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3053, allocations: 3.938 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3053, allocations: 0 / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.767e-05/0.3054, allocations: 4 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.3059, allocations: 304.8 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.239e-05/0.3059, allocations: 22.58 kB / 1.067 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.3059, allocations: 4.859 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.306, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.3061, allocations: 67.34 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3061, allocations: 4 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001979/0.3063, allocations: 65.61 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.3064, allocations: 55.41 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.334e-05/0.3065, allocations: 101.8 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3065, allocations: 29.7 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.3066, allocations: 88.14 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.3066, allocations: 3.906 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/0.3066, allocations: 29.7 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3068, allocations: 326.7 kB / 1.067 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.3069, allocations: 31.98 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.307, allocations: 42.56 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.3071, allocations: 84.2 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3071, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002451/0.3074, allocations: 147.2 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.3074, allocations: 41.69 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3074, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3074, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.905e-05/0.3075, allocations: 4 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3075, allocations: 0 / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.3077, allocations: 27.91 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.3077, allocations: 7.984 kB / 1.068 GB, free: 9.906 MB / 0.8262 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 0.0001306/0.3079, allocations: 127.6 kB / 1.068 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.166e-05/0.3079, allocations: 4 kB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.298e-05/0.3079, allocations: 3.5 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3079, allocations: 0 / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3079, allocations: 0 / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.308, allocations: 0 / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.3081, allocations: 165.6 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.3081, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.3081, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3082, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3082, allocations: 8 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3082, allocations: 4.25 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3082, allocations: 4 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.3083, allocations: 81.06 kB / 1.068 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.3084, allocations: 85 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3084, allocations: 0 / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.568e-05/0.3084, allocations: 4 kB / 1.068 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.689e-05/0.3084, allocations: 7.938 kB / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.3085, allocations: 0 / 1.068 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.3085, allocations: 87.27 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3085, allocations: 0 / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002119/0.3087, allocations: 20 kB / 1.068 GB, free: 9.223 MB / 0.8262 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.0004713/0.3092, allocations: 0.6207 MB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.3094, allocations: 123.6 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3094, allocations: 0 / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.699e-05/0.3095, allocations: 8 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.3097, allocations: 13.39 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.311, allocations: 1.362 MB / 1.07 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3114, allocations: 0.6768 MB / 1.071 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.3114, allocations: 4 kB / 1.071 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3114, allocations: 7.438 kB / 1.071 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3114, allocations: 0 / 1.071 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01824/0.3297, allocations: 1.908 MB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.438, allocations: 7.984 kB / 1.073 GB, free: 4.41 MB / 0.8262 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/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