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.001829/0.001829, allocations: 108 kB / 15.61 MB, free: 152 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.001588/0.001588, allocations: 193.3 kB / 16.53 MB, free: 6.664 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.608/1.608, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.151/3.151, allocations: 482.6 MB / 0.7548 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.11 kB / 0.9241 GB, free: 29.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3884, allocations: 162.3 MB / 1.083 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002038/0.3905, allocations: 0.6033 MB / 1.083 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3922, allocations: 1.112 MB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.28e-05/0.3923, allocations: 0 / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.3923, allocations: 0 / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3925, allocations: 7.938 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005313/0.393, allocations: 127.1 kB / 1.084 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.3932, allocations: 95.81 kB / 1.084 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3933, allocations: 8 kB / 1.084 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.3933, allocations: 31.97 kB / 1.085 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.3934, allocations: 27.91 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.3935, allocations: 8 kB / 1.085 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.285e-05/0.3935, allocations: 23.97 kB / 1.085 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.3936, allocations: 0 / 1.085 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.3936, allocations: 31.92 kB / 1.085 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.3938, allocations: 87.72 kB / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3938, allocations: 0 / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3938, allocations: 0 / 1.085 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.3939, allocations: 0 / 1.085 GB, free: 10.77 MB / 0.8419 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.0005504/0.3944, allocations: 381.4 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3945, allocations: 8.031 kB / 1.085 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.3945, allocations: 4.938 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.3947, allocations: 164.4 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.3947, allocations: 4.375 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3948, allocations: 4.375 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.3949, allocations: 38.25 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3949, allocations: 4.188 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3949, allocations: 3.938 kB / 1.085 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3949, allocations: 4 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.107e-05/0.395, allocations: 11.94 kB / 1.085 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004273/0.3954, allocations: 296.8 kB / 1.086 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.973e-05/0.3955, allocations: 18.52 kB / 1.086 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.034e-05/0.3955, allocations: 8.922 kB / 1.086 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-06/0.3955, allocations: 0 / 1.086 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.3957, allocations: 67.33 kB / 1.086 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3957, allocations: 0 / 1.086 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002074/0.3959, allocations: 57.69 kB / 1.086 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3959, allocations: 51.41 kB / 1.086 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.936e-05/0.396, allocations: 105.8 kB / 1.086 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.396, allocations: 25.7 kB / 1.086 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.613e-05/0.3962, allocations: 96.03 kB / 1.086 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.076e-06/0.3962, allocations: 7.938 kB / 1.086 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.3963, allocations: 33.69 kB / 1.086 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3964, allocations: 318.8 kB / 1.086 GB, free: 8.859 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.091e-05/0.3965, allocations: 23.98 kB / 1.086 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.691e-05/0.3966, allocations: 50.5 kB / 1.086 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.3967, allocations: 88.44 kB / 1.086 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3968, allocations: 0 / 1.086 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002674/0.397, allocations: 151.1 kB / 1.087 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.708e-05/0.3971, allocations: 39.09 kB / 1.087 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3971, allocations: 4 kB / 1.087 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3971, allocations: 0 / 1.087 GB, free: 8.469 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-05/0.3971, allocations: 3.938 kB / 1.087 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3971, allocations: 0 / 1.087 GB, free: 8.465 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002208/0.3974, allocations: 32 kB / 1.087 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.3974, allocations: 11.98 kB / 1.087 GB, free: 8.422 MB / 0.8419 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.0001062/0.3975, allocations: 117.8 kB / 1.087 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.726e-06/0.3975, allocations: 0 / 1.087 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.3976, allocations: 3.5 kB / 1.087 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3976, allocations: 4 kB / 1.087 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.3976, allocations: 0 / 1.087 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3976, allocations: 0 / 1.087 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.3977, allocations: 169.6 kB / 1.087 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3978, allocations: 0 / 1.087 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-06/0.3978, allocations: 4 kB / 1.087 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3978, allocations: 0 / 1.087 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3978, allocations: 320 / 1.087 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3978, allocations: 0 / 1.087 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3978, allocations: 4 kB / 1.087 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.3979, allocations: 88.89 kB / 1.087 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.398, allocations: 81.11 kB / 1.087 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.398, allocations: 4 kB / 1.087 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.398, allocations: 0 / 1.087 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.3981, allocations: 0 / 1.087 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3981, allocations: 4 kB / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.3981, allocations: 87.27 kB / 1.087 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.254e-06/0.3981, allocations: 0 / 1.087 GB, free: 7.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000211/0.3983, allocations: 15.94 kB / 1.087 GB, free: 7.754 MB / 0.8419 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.0001765/0.3985, allocations: 101.5 kB / 1.087 GB, free: 7.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.3988, allocations: 131.3 kB / 1.087 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3988, allocations: 0 / 1.087 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.3988, allocations: 8 kB / 1.087 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.399, allocations: 11.94 kB / 1.088 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.3994, allocations: 122 kB / 1.088 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3999, allocations: 0.6886 MB / 1.088 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.655e-05/0.3999, allocations: 0 / 1.088 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.746e-05/0.3999, allocations: 11.44 kB / 1.088 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3999, allocations: 0 / 1.088 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of Templates: time 0.004103/0.404, allocations: 1.043 MB / 1.089 GB, free: 5.578 MB / 0.8419 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=400 -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