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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001455/0.001455, allocations: 108.6 kB / 15.73 MB, free: 72 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.002364/0.002365, allocations: 186.8 kB / 16.66 MB, free: 6.602 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.597/1.597, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.092/3.092, allocations: 472.6 MB / 0.7453 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 63.91 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4428, allocations: 159.9 MB / 1.226 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002245/0.4451, allocations: 0.6183 MB / 1.226 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.4469, allocations: 1.108 MB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.447, allocations: 0 / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.4471, allocations: 0 / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.4472, allocations: 3.938 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000577/0.4478, allocations: 123.6 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.448, allocations: 99.81 kB / 1.228 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.4482, allocations: 7.984 kB / 1.228 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.523e-05/0.4482, allocations: 27.98 kB / 1.228 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.4485, allocations: 35.88 kB / 1.228 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.4485, allocations: 8 kB / 1.228 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-05/0.4486, allocations: 27.92 kB / 1.228 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.4486, allocations: 0 / 1.228 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.4487, allocations: 35.92 kB / 1.228 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.4489, allocations: 79.78 kB / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4489, allocations: 0 / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.4489, allocations: 0 / 1.228 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.4489, allocations: 0 / 1.228 GB, free: 6.945 MB / 0.9825 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.000533/0.4495, allocations: 377.1 kB / 1.228 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4495, allocations: 8.031 kB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.332e-05/0.4496, allocations: 8.891 kB / 1.228 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.4497, allocations: 164.3 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4497, allocations: 12.36 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.4498, allocations: 8.375 kB / 1.228 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4499, allocations: 34.25 kB / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4499, allocations: 192 / 1.228 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.4499, allocations: 7.938 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.45, allocations: 0 / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.45, allocations: 11.94 kB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.4505, allocations: 284.9 kB / 1.229 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.4505, allocations: 26.52 kB / 1.229 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.111e-05/0.4506, allocations: 8.922 kB / 1.229 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.4506, allocations: 0 / 1.229 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.4508, allocations: 63.28 kB / 1.229 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.4508, allocations: 4 kB / 1.229 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002216/0.451, allocations: 57.69 kB / 1.229 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4511, allocations: 51.41 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.4512, allocations: 113.8 kB / 1.229 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.4512, allocations: 29.7 kB / 1.229 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.4513, allocations: 92.06 kB / 1.229 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.325e-05/0.4513, allocations: 7.891 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.4514, allocations: 29.7 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0003059/0.4517, allocations: 322.8 kB / 1.229 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.4518, allocations: 23.98 kB / 1.229 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.4519, allocations: 54.56 kB / 1.229 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.452, allocations: 80.2 kB / 1.23 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.452, allocations: 0 / 1.23 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000237/0.4523, allocations: 147.4 kB / 1.23 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.745e-05/0.4523, allocations: 37.69 kB / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4523, allocations: 0 / 1.23 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4524, allocations: 8.094 kB / 1.23 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.15e-05/0.4524, allocations: 4.297 kB / 1.23 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.4524, allocations: 0 / 1.23 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.4526, allocations: 27.97 kB / 1.23 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.4527, allocations: 8 kB / 1.23 GB, free: 4.605 MB / 0.9825 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.000105/0.4528, allocations: 121.8 kB / 1.23 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.4528, allocations: 0 / 1.23 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.4528, allocations: 11.5 kB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4528, allocations: 0 / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.4528, allocations: 4 kB / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.4528, allocations: 0 / 1.23 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.453, allocations: 161.6 kB / 1.23 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.453, allocations: 0 / 1.23 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-06/0.453, allocations: 0 / 1.23 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.453, allocations: 4 kB / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.453, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.453, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.453, allocations: 0 / 1.23 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.4533, allocations: 88.95 kB / 1.23 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.4534, allocations: 81.11 kB / 1.23 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.4534, allocations: 3.984 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.4534, allocations: 0 / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.4535, allocations: 0 / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4535, allocations: 4 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.255e-05/0.4535, allocations: 83.28 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4535, allocations: 3.938 kB / 1.23 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002134/0.4537, allocations: 23.92 kB / 1.23 GB, free: 3.926 MB / 0.9825 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.0002006/0.4539, allocations: 103.2 kB / 1.23 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002415/0.4542, allocations: 123.3 kB / 1.231 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4542, allocations: 3.938 kB / 1.231 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.4542, allocations: 15.98 kB / 1.231 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.4545, allocations: 11.36 kB / 1.231 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.4548, allocations: 128.6 kB / 1.231 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.4552, allocations: 0.6806 MB / 1.231 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.209e-05/0.4552, allocations: 4 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.4552, allocations: 7.438 kB / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of SimCode: time 4.1e-07/0.4552, allocations: 0 / 1.231 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of Templates: time 0.003713/0.4589, allocations: 1.05 MB / 1.232 GB, free: 1.746 MB / 0.9825 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