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: 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.001324/0.001324, allocations: 102.5 kB / 16.41 MB, free: 6.488 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.001306/0.001306, allocations: 189.7 kB / 17.34 MB, free: 5.727 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.285/1.285, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.492/2.492, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 71.88 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6878, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001696/0.6895, allocations: 0.6118 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.6908, allocations: 1.112 MB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.6908, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.6909, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.455e-05/0.6909, allocations: 3.938 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.6914, allocations: 129.1 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.6915, allocations: 95.88 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.407e-05/0.6916, allocations: 4 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.6917, allocations: 39.8 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.6918, allocations: 31.94 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.6918, allocations: 8 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.517e-05/0.6919, allocations: 23.98 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.6919, allocations: 11.94 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.692, allocations: 31.89 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.6921, allocations: 67.88 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6921, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.826e-06/0.6921, allocations: 0 / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.6921, allocations: 3.938 kB / 1.211 GB, free: 11.45 MB / 0.9356 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.0004034/0.6925, allocations: 377 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.6926, allocations: 8.031 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.6926, allocations: 8.938 kB / 1.211 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.861e-05/0.6927, allocations: 172.4 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.6928, allocations: 384 / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.6928, allocations: 8.375 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.254e-05/0.6929, allocations: 42.19 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.6929, allocations: 192 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.6929, allocations: 3.938 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.6929, allocations: 0 / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.267e-05/0.6929, allocations: 8 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.6933, allocations: 296.8 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.6933, allocations: 26.45 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.487e-05/0.6934, allocations: 8.859 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.262e-06/0.6934, allocations: 0 / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.419e-05/0.6935, allocations: 55.45 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.6935, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0001659/0.6937, allocations: 65.62 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.6937, allocations: 55.41 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.6938, allocations: 105.8 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.6938, allocations: 29.7 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.546e-05/0.6939, allocations: 84.05 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.6939, allocations: 7.984 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.6939, allocations: 29.7 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.986e-05/0.694, allocations: 314.8 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.665e-05/0.6941, allocations: 31.98 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.6942, allocations: 46.56 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.609e-05/0.6943, allocations: 84.38 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6943, allocations: 0 / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002239/0.6945, allocations: 151.2 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.6946, allocations: 45.72 kB / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.6946, allocations: 0 / 1.213 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.6946, allocations: 3.938 kB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.464e-05/0.6946, allocations: 0 / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6946, allocations: 4 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.6948, allocations: 29.8 kB / 1.213 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.6948, allocations: 7.984 kB / 1.213 GB, free: 9.117 MB / 0.9356 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.487e-05/0.6949, allocations: 119.3 kB / 1.213 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.6949, allocations: 4 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.695, allocations: 7.812 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.695, allocations: 0 / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.695, allocations: 0 / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.695, allocations: 4 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.6951, allocations: 161.6 kB / 1.213 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.6951, allocations: 4 kB / 1.213 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-06/0.6951, allocations: 3.938 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6951, allocations: 0 / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.6951, allocations: 0 / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.6951, allocations: 4 kB / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6951, allocations: 0 / 1.213 GB, free: 8.754 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.504e-05/0.6952, allocations: 88.95 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.6953, allocations: 77.11 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.6953, allocations: 0 / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.32e-05/0.6953, allocations: 0 / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.6953, allocations: 4 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.6954, allocations: 0 / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.525e-05/0.6954, allocations: 91.27 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.6954, allocations: 0 / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002034/0.6956, allocations: 20 kB / 1.213 GB, free: 8.441 MB / 0.9356 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.0001274/0.6957, allocations: 99.19 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001839/0.6959, allocations: 119.4 kB / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6959, allocations: 0 / 1.213 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.696, allocations: 19.97 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.6962, allocations: 12.12 kB / 1.213 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002441/0.6964, allocations: 151.6 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.6966, allocations: 0.6845 MB / 1.214 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.461e-05/0.6967, allocations: 7.438 kB / 1.214 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.6967, allocations: 3.938 kB / 1.214 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of Templates: time 0.002052/0.6987, allocations: 0.8607 MB / 1.215 GB, free: 6.414 MB / 0.9356 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