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.001475/0.001475, allocations: 106.6 kB / 16.27 MB, free: 5.988 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.001474/0.001474, allocations: 188.2 kB / 17.19 MB, free: 5.625 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.628/2.628, allocations: 482.4 MB / 0.7553 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 75.42 kB / 0.9245 GB, free: 12 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7096/0.7115, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001788/0.7133, allocations: 0.5998 MB / 1.084 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.7144, allocations: 1.1 MB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/0.7144, allocations: 0.7188 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.201e-05/0.7145, allocations: 4.5 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.605e-05/0.7145, allocations: 1.312 kB / 1.085 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.715, allocations: 123.7 kB / 1.085 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001267/0.7151, allocations: 92.7 kB / 1.085 GB, free: 388 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.565e-05/0.7152, allocations: 17.33 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.724e-05/0.7152, allocations: 29.2 kB / 1.085 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.218e-05/0.7153, allocations: 27.09 kB / 1.085 GB, free: 356 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.7154, allocations: 8.219 kB / 1.085 GB, free: 356 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.964e-05/0.7154, allocations: 21.12 kB / 1.085 GB, free: 352 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.7155, allocations: 7.688 kB / 1.085 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.171e-05/0.7155, allocations: 26.17 kB / 1.085 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.7157, allocations: 85.86 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.7157, allocations: 0.6562 kB / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7157, allocations: 0 / 1.085 GB, free: 304 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.7157, allocations: 0 / 1.085 GB, free: 304 kB / 0.8262 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.0003957/0.7161, allocations: 378.4 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.7161, allocations: 10.16 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.7162, allocations: 5.219 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.7163, allocations: 167.2 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.7163, allocations: 3.625 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.7164, allocations: 8.969 kB / 1.086 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.935e-05/0.7165, allocations: 46.14 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.7165, allocations: 6.094 kB / 1.086 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.7165, allocations: 7.938 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.7165, allocations: 1.125 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.995e-05/0.7165, allocations: 5.594 kB / 1.086 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003841/0.7169, allocations: 289.6 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 4.276e-05/0.717, allocations: 29.36 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.823e-05/0.717, allocations: 7.906 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.477e-06/0.717, allocations: 5.438 kB / 1.086 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.7171, allocations: 56.7 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.7171, allocations: 0 / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0001807/0.7173, allocations: 64.52 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.7174, allocations: 52.11 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.7175, allocations: 108.5 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.7175, allocations: 26.83 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.7176, allocations: 96.14 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.7176, allocations: 10.06 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.7176, allocations: 29.44 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.7178, allocations: 313.8 kB / 1.087 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.6e-05/0.7179, allocations: 31.38 kB / 1.087 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.7179, allocations: 44.78 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.7181, allocations: 91.06 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.7181, allocations: 0.6562 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002569/0.7183, allocations: 143 kB / 1.087 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.953e-05/0.7184, allocations: 38.86 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.7184, allocations: 5.141 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.7184, allocations: 1.25 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.478e-05/0.7184, allocations: 1.953 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.7184, allocations: 1.312 kB / 1.087 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.7187, allocations: 28.94 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.7187, allocations: 6.484 kB / 1.087 GB, free: 14.32 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 9.755e-05/0.7188, allocations: 121.1 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.7188, allocations: 1.969 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.7188, allocations: 5.625 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7188, allocations: 0.9688 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7188, allocations: 0 / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7188, allocations: 5.266 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.719, allocations: 164.8 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.719, allocations: 0 / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-06/0.719, allocations: 5.062 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.719, allocations: 2.297 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.719, allocations: 4 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.719, allocations: 0.75 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.719, allocations: 1.109 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.7191, allocations: 87.42 kB / 1.087 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.401e-05/0.7192, allocations: 83.2 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.7192, allocations: 1.797 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.7192, allocations: 0.875 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.7193, allocations: 2.25 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.7193, allocations: 2.984 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.739e-05/0.7193, allocations: 88.88 kB / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.894e-06/0.7193, allocations: 0 / 1.088 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002153/0.7195, allocations: 18.58 kB / 1.088 GB, free: 13.72 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.000131/0.7197, allocations: 108.4 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.7199, allocations: 118.5 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7199, allocations: 1.438 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.202e-05/0.72, allocations: 12.86 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.7201, allocations: 13.31 kB / 1.088 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.7204, allocations: 161.2 kB / 1.088 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.7207, allocations: 0.6775 MB / 1.089 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.7207, allocations: 10.08 kB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.7207, allocations: 0 / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of Templates: time 0.002383/0.7231, allocations: 0.8613 MB / 1.09 GB, free: 12.6 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/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