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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Not,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001545/0.001551, allocations: 108 kB / 15.6 MB, free: 132 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.001831/0.001831, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7346 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 71.39 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3635, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00251/0.366, allocations: 0.6119 MB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3676, allocations: 1.116 MB / 1.055 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.3677, allocations: 3.938 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.3677, allocations: 3.938 kB / 1.055 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.3678, allocations: 7.938 kB / 1.055 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.3684, allocations: 123.5 kB / 1.055 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.3685, allocations: 91.81 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.3687, allocations: 19.92 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.476e-05/0.3687, allocations: 27.98 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.221e-05/0.3688, allocations: 27.91 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.3689, allocations: 8 kB / 1.055 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.918e-05/0.369, allocations: 19.98 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.369, allocations: 7.984 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.486e-05/0.3691, allocations: 27.91 kB / 1.055 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.3692, allocations: 79.8 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3693, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3693, allocations: 0 / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3693, allocations: 0 / 1.055 GB, free: 6.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.0005375/0.3698, allocations: 377.5 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3699, allocations: 8.625 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.3699, allocations: 34.73 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.37, allocations: 12.78 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.3701, allocations: 164.4 kB / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.3701, allocations: 384 / 1.056 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3702, allocations: 4.375 kB / 1.056 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.3703, allocations: 42.25 kB / 1.056 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3703, allocations: 3.938 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3703, allocations: 4 kB / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.3703, allocations: 0 / 1.056 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.475e-05/0.3704, allocations: 11.98 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3708, allocations: 292.8 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.506e-05/0.3709, allocations: 18.58 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.3709, allocations: 4.859 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.3709, allocations: 4 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.3711, allocations: 59.45 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3711, allocations: 0 / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001981/0.3713, allocations: 69.52 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3713, allocations: 55.41 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/0.3714, allocations: 101.9 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.3715, allocations: 33.7 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.8e-05/0.3715, allocations: 88.12 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.3715, allocations: 11.89 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.045e-05/0.3716, allocations: 29.7 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3718, allocations: 322.7 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.283e-05/0.3719, allocations: 31.92 kB / 1.057 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.3719, allocations: 50.55 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.3721, allocations: 84.2 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3721, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002365/0.3723, allocations: 143.3 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/0.3723, allocations: 33.7 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.3724, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3724, allocations: 240 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.811e-05/0.3724, allocations: 0 / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.3724, allocations: 7.984 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.3726, allocations: 35.91 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.3727, allocations: 11.94 kB / 1.057 GB, free: 3.676 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 8.37e-05/0.3728, allocations: 117.8 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.3728, allocations: 7.984 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.386e-05/0.3728, allocations: 11.48 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.3728, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3728, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3728, allocations: 4 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3729, allocations: 161.6 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.373, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-06/0.373, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.373, allocations: 0 / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.373, allocations: 3.984 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.373, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.373, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.3731, allocations: 85 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.3732, allocations: 85.02 kB / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3732, allocations: 320 / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.3732, allocations: 0 / 1.058 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.3732, allocations: 7.984 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.3732, allocations: 4 kB / 1.058 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.3733, allocations: 83.28 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3733, allocations: 0 / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002091/0.3735, allocations: 16 kB / 1.058 GB, free: 3.004 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.0004837/0.374, allocations: 0.6241 MB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.3742, allocations: 123.3 kB / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3742, allocations: 0 / 1.058 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.166e-05/0.3743, allocations: 15.98 kB / 1.058 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.3745, allocations: 9.219 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.376, allocations: 1.35 MB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3763, allocations: 0.6807 MB / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.264e-05/0.3763, allocations: 0 / 1.06 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.3764, allocations: 19.42 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of SimCode: time 7.42e-07/0.3764, allocations: 4 kB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.3949, allocations: 1.884 MB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.192/7.587, allocations: 9.859 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Not.fmu > 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