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.001082/0.001082, allocations: 98.88 kB / 16.02 MB, free: 76 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.00155/0.00155, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.769/2.769, allocations: 462.6 MB / 0.737 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003975, allocations: 10.19 kB / 0.9034 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3102, allocations: 159.6 MB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0008791/0.3111, allocations: 345.9 kB / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.3127, allocations: 1.116 MB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.3128, allocations: 0 / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.3128, allocations: 3.938 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.61e-05/0.3129, allocations: 4 kB / 1.061 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000498/0.3134, allocations: 110.8 kB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.3135, allocations: 75.83 kB / 1.061 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.11e-05/0.3136, allocations: 3.984 kB / 1.061 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.451e-05/0.3137, allocations: 31.97 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.954e-05/0.3138, allocations: 23.91 kB / 1.061 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3138, allocations: 4 kB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.424e-05/0.3139, allocations: 27.92 kB / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.3139, allocations: 0 / 1.061 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.04e-05/0.314, allocations: 61.59 kB / 1.061 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3141, allocations: 43.89 kB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3141, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3141, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.3142, allocations: 0 / 1.061 GB, free: 3.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.0004221/0.3146, allocations: 369.4 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3146, allocations: 11.97 kB / 1.061 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.3147, allocations: 4.938 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.3148, allocations: 176.3 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3149, allocations: 384 / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3149, allocations: 4.375 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.795e-05/0.315, allocations: 42.25 kB / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.315, allocations: 192 / 1.062 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.315, allocations: 3.938 kB / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.315, allocations: 0 / 1.062 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.3151, allocations: 11.92 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.3155, allocations: 288.9 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.3156, allocations: 22.52 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.601e-05/0.3156, allocations: 12.86 kB / 1.062 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-06/0.3156, allocations: 3.938 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/0.3158, allocations: 71.38 kB / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3158, allocations: 0 / 1.062 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001938/0.316, allocations: 65.58 kB / 1.062 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.316, allocations: 59.41 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.257e-05/0.3161, allocations: 101.8 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.3163, allocations: 33.69 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.826e-05/0.3163, allocations: 80.14 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.3163, allocations: 11.91 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.3164, allocations: 13.72 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3165, allocations: 314.8 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-05/0.3166, allocations: 39.91 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/0.3167, allocations: 42.56 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.3168, allocations: 84.44 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3168, allocations: 0 / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002554/0.317, allocations: 147.3 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.3171, allocations: 37.8 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3171, allocations: 3.984 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.3171, allocations: 0 / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.98e-05/0.3172, allocations: 3.938 kB / 1.063 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3172, allocations: 4 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.3174, allocations: 35.91 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.3174, allocations: 12 kB / 1.063 GB, free: 0.7227 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 0.0001011/0.3176, allocations: 117.8 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.3176, allocations: 7.906 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.3176, allocations: 7.5 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3176, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3176, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.3176, allocations: 0 / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3178, allocations: 161.6 kB / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3178, allocations: 0 / 1.063 GB, free: 384 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.197e-06/0.3178, allocations: 7.984 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3178, allocations: 0 / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3178, allocations: 4 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3178, allocations: 3.938 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3178, allocations: 0 / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.3179, allocations: 81 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.28e-05/0.318, allocations: 77.11 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.318, allocations: 7.984 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.415e-05/0.318, allocations: 4 kB / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.318, allocations: 0 / 1.064 GB, free: 160 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3181, allocations: 4.312 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.6e-05/0.3181, allocations: 87.28 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3181, allocations: 0 / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002138/0.3183, allocations: 15.98 kB / 1.064 GB, free: 52 kB / 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.000233/0.3186, allocations: 99.25 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.3188, allocations: 127.4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3188, allocations: 3.938 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.231e-05/0.3188, allocations: 8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3191, allocations: 21.73 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003122/0.3194, allocations: 154.7 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.3197, allocations: 0.6809 MB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.3197, allocations: 11.5 kB / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.3197, allocations: 0 / 1.065 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of Templates: time 0.002685/0.3224, allocations: 0.8592 MB / 1.066 GB, free: 14.02 MB / 0.8262 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