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.008617/0.008617, allocations: 101 kB / 15.73 MB, free: 5.992 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.001396/0.001396, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.544/1.544, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.067/3.067, allocations: 461.9 MB / 0.7348 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 63.91 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4189, allocations: 157.4 MB / 1.208 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002461/0.4215, allocations: 0.6113 MB / 1.208 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.4234, allocations: 1.112 MB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.4235, allocations: 0 / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.4236, allocations: 3.984 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.085e-05/0.4237, allocations: 3.938 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006367/0.4244, allocations: 123.6 kB / 1.21 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.4246, allocations: 91.88 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.4247, allocations: 8 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.4249, allocations: 39.91 kB / 1.21 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.425, allocations: 27.91 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.425, allocations: 11.94 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.736e-05/0.4251, allocations: 23.97 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.4251, allocations: 7.984 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.4252, allocations: 27.92 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/0.4254, allocations: 83.78 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.4254, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4254, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4254, allocations: 0 / 1.21 GB, free: 7.527 MB / 0.9669 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.0006767/0.4261, allocations: 381.1 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.4262, allocations: 8.625 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.554e-05/0.4263, allocations: 4.938 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.4264, allocations: 164.4 kB / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4265, allocations: 384 / 1.21 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.507e-05/0.4265, allocations: 4.375 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.4266, allocations: 50.12 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.4266, allocations: 192 / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.4267, allocations: 3.938 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.4267, allocations: 4 kB / 1.21 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.922e-05/0.4267, allocations: 11.98 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.4273, allocations: 284.8 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.031e-05/0.4273, allocations: 22.52 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/0.4274, allocations: 16.84 kB / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.4274, allocations: 0 / 1.211 GB, free: 6.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.4276, allocations: 59.41 kB / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4276, allocations: 0 / 1.211 GB, free: 6.359 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002442/0.4279, allocations: 61.67 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.428, allocations: 55.34 kB / 1.211 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4281, allocations: 106 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.4281, allocations: 29.7 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.4282, allocations: 92.03 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.4282, allocations: 4 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.429e-05/0.4283, allocations: 33.7 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4285, allocations: 310.8 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.544e-05/0.4286, allocations: 35.97 kB / 1.212 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.719e-05/0.4287, allocations: 50.56 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.4288, allocations: 88.14 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.4288, allocations: 4 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002548/0.4291, allocations: 143.2 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.741e-05/0.4291, allocations: 33.7 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4292, allocations: 4 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4292, allocations: 4.219 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.626e-05/0.4292, allocations: 0 / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.4292, allocations: 4 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4294, allocations: 28 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.4294, allocations: 8 kB / 1.212 GB, free: 5.191 MB / 0.9669 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.0001006/0.4295, allocations: 117.8 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.4296, allocations: 3.984 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.4296, allocations: 11.48 kB / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4296, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4296, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.4296, allocations: 0 / 1.212 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.4298, allocations: 161.6 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4298, allocations: 0 / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.305e-06/0.4298, allocations: 8 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4298, allocations: 3.938 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4298, allocations: 3.984 kB / 1.212 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4298, allocations: 3.938 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4298, allocations: 0 / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.4299, allocations: 84.97 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.43, allocations: 77.11 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.43, allocations: 0 / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.475e-05/0.43, allocations: 4 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.4301, allocations: 7.984 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.4301, allocations: 0 / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.4301, allocations: 87.34 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.82e-07/0.4301, allocations: 0 / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002246/0.4304, allocations: 16 kB / 1.212 GB, free: 4.516 MB / 0.9669 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.0001919/0.4306, allocations: 99.23 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.4308, allocations: 127.4 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4308, allocations: 3.938 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.814e-05/0.4308, allocations: 8 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4311, allocations: 19.91 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.4314, allocations: 122.5 kB / 1.213 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.4317, allocations: 0.6768 MB / 1.213 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.707e-05/0.4317, allocations: 4 kB / 1.213 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.4318, allocations: 11.56 kB / 1.213 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of SimCode: time 8.01e-07/0.4318, allocations: 0 / 1.213 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of Templates: time 0.004623/0.4364, allocations: 1.042 MB / 1.215 GB, free: 2.344 MB / 0.9669 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