Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_11_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.00719/0.00719, allocations: 98.16 kB / 15.73 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.001961/0.001961, allocations: 197 kB / 16.68 MB, free: 5.93 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.693/2.693, allocations: 469.8 MB / 0.7425 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.11 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6832/0.6852, allocations: 159.1 MB / 1.22 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001641/0.6869, allocations: 0.6029 MB / 1.221 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.6882, allocations: 1.12 MB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.6883, allocations: 0 / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.6883, allocations: 3.938 kB / 1.222 GB, free: 276 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.026e-05/0.6884, allocations: 3.984 kB / 1.222 GB, free: 272 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.6888, allocations: 122.6 kB / 1.222 GB, free: 152 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.689, allocations: 91.83 kB / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.085e-05/0.689, allocations: 7.984 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.168e-05/0.6891, allocations: 39.91 kB / 1.222 GB, free: 12 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.6892, allocations: 27.98 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.6892, allocations: 8 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.026e-05/0.6893, allocations: 27.89 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.6893, allocations: 0 / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.417e-05/0.6894, allocations: 35.91 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.6896, allocations: 79.8 kB / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.6896, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.212e-06/0.6896, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.6896, allocations: 0 / 1.222 GB, free: 15.84 MB / 0.9512 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.0004492/0.69, allocations: 372.8 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.6901, allocations: 12.03 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.6901, allocations: 34.75 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.6902, allocations: 8.891 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.6903, allocations: 168.3 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.6903, allocations: 8.375 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.6903, allocations: 8.359 kB / 1.223 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.318e-05/0.6904, allocations: 42.25 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6904, allocations: 3.938 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.6904, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.6904, allocations: 0 / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.442e-05/0.6905, allocations: 7.984 kB / 1.223 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.6909, allocations: 292.8 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 4.353e-05/0.6909, allocations: 26.52 kB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.6909, allocations: 12.91 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.6909, allocations: 0 / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.6911, allocations: 59.36 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.6911, allocations: 0 / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001621/0.6912, allocations: 65.61 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.6913, allocations: 55.41 kB / 1.223 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.6914, allocations: 105.8 kB / 1.224 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.6914, allocations: 25.7 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.6915, allocations: 92.12 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.639e-06/0.6915, allocations: 7.891 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.6916, allocations: 29.7 kB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6917, allocations: 318.8 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.526e-05/0.6918, allocations: 31.97 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.6919, allocations: 50.88 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.692, allocations: 84.2 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.692, allocations: 0 / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002485/0.6923, allocations: 143.2 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.6923, allocations: 37.7 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6923, allocations: 8.094 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.6924, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.479e-05/0.6924, allocations: 3.984 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.6924, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6926, allocations: 23.97 kB / 1.224 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.6926, allocations: 11.98 kB / 1.224 GB, free: 13.45 MB / 0.9512 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.771e-05/0.6927, allocations: 121.7 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-06/0.6927, allocations: 0 / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.109e-05/0.6927, allocations: 11.48 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.6927, allocations: 4.234 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6928, allocations: 0 / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.6928, allocations: 3.984 kB / 1.224 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.6929, allocations: 161.6 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.6929, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-06/0.6929, allocations: 4 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.6929, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.6929, allocations: 3.984 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6929, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6929, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.6931, allocations: 85.02 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.6931, allocations: 81.11 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.6931, allocations: 3.938 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.276e-05/0.6931, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.6932, allocations: 11.92 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.6932, allocations: 0 / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.29e-05/0.6932, allocations: 83.28 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.924e-06/0.6932, allocations: 4 kB / 1.225 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002099/0.6935, allocations: 23.88 kB / 1.225 GB, free: 12.76 MB / 0.9512 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.0004292/0.6939, allocations: 0.6129 MB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.6941, allocations: 123.3 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6941, allocations: 4.188 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.6942, allocations: 11.98 kB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001752/0.6943, allocations: 8.188 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.6957, allocations: 1.356 MB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.6961, allocations: 0.6729 MB / 1.228 GB, free: 9.809 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.6961, allocations: 11.98 kB / 1.228 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.6961, allocations: 11.44 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.6961, allocations: 0 / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.7175, allocations: 1.924 MB / 1.23 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/8.369, allocations: 4.531 kB / 1.23 GB, free: 7.953 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv --start-time 0 --stop-time 5 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches