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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001571/0.001572, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009952/0.009952, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.035/3.035, allocations: 462.6 MB / 0.7363 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 11.66 kB / 0.9027 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3934, allocations: 159.6 MB / 1.059 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.0008952/0.3943, allocations: 341.9 kB / 1.059 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.3959, allocations: 1.116 MB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.486e-05/0.3959, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.396, allocations: 0 / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-05/0.396, allocations: 7.938 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.3965, allocations: 114.9 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.3966, allocations: 75.83 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.589e-05/0.3966, allocations: 11.94 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.3967, allocations: 27.97 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.233e-05/0.3968, allocations: 23.91 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3968, allocations: 4 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.942e-05/0.3969, allocations: 19.98 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.3969, allocations: 0 / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.397, allocations: 61.59 kB / 1.06 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.3971, allocations: 75.78 kB / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3972, allocations: 0 / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3972, allocations: 0 / 1.06 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3972, allocations: 0 / 1.06 GB, free: 3.121 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.0004071/0.3976, allocations: 369.4 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3976, allocations: 15.97 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.3977, allocations: 8.922 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3978, allocations: 164.3 kB / 1.061 GB, free: 2.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3978, allocations: 4.375 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.3978, allocations: 4.375 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.038e-05/0.3979, allocations: 38.25 kB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.3979, allocations: 192 / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.398, allocations: 3.938 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.398, allocations: 4 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.702e-05/0.398, allocations: 12 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.3984, allocations: 288.8 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.556e-05/0.3984, allocations: 26.5 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.3985, allocations: 8.922 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-06/0.3985, allocations: 0 / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.3986, allocations: 63.33 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3986, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001701/0.3988, allocations: 65.59 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3989, allocations: 55.39 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.3989, allocations: 101.9 kB / 1.062 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.399, allocations: 29.7 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.399, allocations: 92.12 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/0.399, allocations: 3.906 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.3991, allocations: 21.72 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.3992, allocations: 318.8 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/0.3993, allocations: 23.98 kB / 1.062 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.393e-05/0.3993, allocations: 50.55 kB / 1.062 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.3994, allocations: 88.14 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3995, allocations: 8 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002116/0.3997, allocations: 135.3 kB / 1.062 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.3997, allocations: 39.27 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3997, allocations: 3.938 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.3998, allocations: 4 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.497e-05/0.3998, allocations: 0 / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.3998, allocations: 7.922 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.4, allocations: 44 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.4001, allocations: 4 kB / 1.062 GB, free: 0.7891 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 7.967e-05/0.4001, allocations: 117.8 kB / 1.063 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-06/0.4002, allocations: 3.906 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.4002, allocations: 11.48 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4002, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4002, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4002, allocations: 4 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.4003, allocations: 161.6 kB / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4003, allocations: 320 / 1.063 GB, free: 452 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-06/0.4003, allocations: 8 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.4003, allocations: 0 / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.4003, allocations: 3.984 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4003, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4004, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.248e-05/0.4005, allocations: 89 kB / 1.063 GB, free: 332 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.4005, allocations: 77.11 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.4005, allocations: 4.281 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.4005, allocations: 0 / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.4006, allocations: 7.984 kB / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-06/0.4006, allocations: 0 / 1.063 GB, free: 224 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.4006, allocations: 79.28 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4006, allocations: 0 / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002045/0.4008, allocations: 20 kB / 1.063 GB, free: 124 kB / 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.0001519/0.401, allocations: 113.5 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002106/0.4012, allocations: 119.3 kB / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4012, allocations: 0 / 1.063 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.784e-05/0.4012, allocations: 12 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.4014, allocations: 15.86 kB / 1.063 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002559/0.4017, allocations: 134.8 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.4019, allocations: 0.677 MB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.829e-05/0.4019, allocations: 4 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.402, allocations: 11.42 kB / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.402, allocations: 0 / 1.064 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.003148/0.4051, allocations: 0.9857 MB / 1.065 GB, free: 14 MB / 0.8262 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