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.001649/0.001649, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001917/0.001917, allocations: 195.6 kB / 16.14 MB, free: 6.645 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.791/2.791, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 70.86 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 157.4 MB / 1.052 GB, free: 8.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001933/0.3097, allocations: 0.6727 MB / 1.053 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.311, allocations: 1.127 MB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.311, allocations: 0 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.3111, allocations: 0 / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.3111, allocations: 15.92 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.3115, allocations: 102.8 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.3116, allocations: 79.88 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.3117, allocations: 7.938 kB / 1.054 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.3118, allocations: 31.98 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.3119, allocations: 23.89 kB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.3119, allocations: 4 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.312, allocations: 19.98 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.312, allocations: 7.984 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.363e-05/0.3121, allocations: 23.92 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.3122, allocations: 83.78 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3122, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3122, allocations: 0 / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3122, allocations: 0 / 1.054 GB, free: 6.664 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.0004876/0.3127, allocations: 377.4 kB / 1.055 GB, free: 6.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3128, allocations: 11.97 kB / 1.055 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3128, allocations: 8.844 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3129, allocations: 164.4 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.313, allocations: 4.375 kB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.313, allocations: 4.375 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.389e-05/0.3131, allocations: 42.25 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3131, allocations: 192 / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.3131, allocations: 3.938 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3131, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.3132, allocations: 11.98 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003761/0.3135, allocations: 288.8 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.121e-05/0.3136, allocations: 26.5 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.761e-05/0.3136, allocations: 8.922 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-06/0.3136, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.3138, allocations: 67.39 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 2.314e-06/0.3138, allocations: 0 / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001771/0.314, allocations: 69.66 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.314, allocations: 51.41 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.3141, allocations: 105.8 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3141, allocations: 29.7 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.3142, allocations: 84.08 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.3142, allocations: 15.89 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.3143, allocations: 33.7 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/0.3144, allocations: 314.8 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.3145, allocations: 31.92 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.971e-05/0.3145, allocations: 46.81 kB / 1.056 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3147, allocations: 92.2 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3147, allocations: 4 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002353/0.3149, allocations: 139.3 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.3149, allocations: 37.69 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.315, allocations: 4 kB / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.315, allocations: 0 / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.608e-05/0.315, allocations: 0 / 1.056 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.315, allocations: 4 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.3152, allocations: 35.84 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.3153, allocations: 8 kB / 1.056 GB, free: 4.312 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 9.174e-05/0.3154, allocations: 123.3 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.3154, allocations: 0 / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.3154, allocations: 7.5 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3154, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3154, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3154, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.3155, allocations: 157.6 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3155, allocations: 3.984 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-06/0.3155, allocations: 8 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3156, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.3156, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3156, allocations: 0 / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3156, allocations: 3.984 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.945e-05/0.3157, allocations: 85 kB / 1.057 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-05/0.3157, allocations: 81.02 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.3157, allocations: 3.984 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.3158, allocations: 8 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.3158, allocations: 4 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.3158, allocations: 0 / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.3158, allocations: 79.28 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3158, allocations: 0 / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002159/0.3161, allocations: 23.98 kB / 1.057 GB, free: 3.641 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.0001564/0.3162, allocations: 98.25 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000209/0.3164, allocations: 127.3 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3165, allocations: 3.938 kB / 1.057 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.3165, allocations: 12 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.3167, allocations: 11.92 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.317, allocations: 116.1 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3172, allocations: 0.6772 MB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.908e-05/0.3173, allocations: 8 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.3173, allocations: 7.438 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3173, allocations: 0 / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of Templates: time 0.003552/0.3208, allocations: 1.003 MB / 1.059 GB, free: 1.527 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 -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/jenkins/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