Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001472/0.001472, allocations: 104.5 kB / 16.4 MB, free: 5.977 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.002751/0.002752, allocations: 189.3 kB / 17.34 MB, free: 5.586 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.446/1.446, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.91 kB / 0.9516 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9525/0.9539, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00191/0.9559, allocations: 0.6174 MB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.9572, allocations: 1.11 MB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.011e-05/0.9573, allocations: 1.188 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.9573, allocations: 0.5625 kB / 1.09 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.9574, allocations: 10.55 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.9579, allocations: 130.8 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.9581, allocations: 86.48 kB / 1.091 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.113e-05/0.9582, allocations: 12.62 kB / 1.091 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.165e-05/0.9583, allocations: 33.56 kB / 1.091 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.9584, allocations: 31.58 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.9584, allocations: 7.312 kB / 1.091 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.547e-05/0.9585, allocations: 22.56 kB / 1.091 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.9585, allocations: 6.094 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.9586, allocations: 34.94 kB / 1.091 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.9587, allocations: 76.95 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9588, allocations: 1.766 kB / 1.091 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9588, allocations: 3.938 kB / 1.091 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.9588, allocations: 4 kB / 1.091 GB, free: 4.145 MB / 0.8575 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.0003968/0.9592, allocations: 376.9 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.9592, allocations: 9.281 kB / 1.091 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.9593, allocations: 8.656 kB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.977e-05/0.9594, allocations: 163.2 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.9594, allocations: 3.625 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.9594, allocations: 5.219 kB / 1.091 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.929e-05/0.9595, allocations: 39.11 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.9595, allocations: 1.281 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.9595, allocations: 8.734 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.9595, allocations: 1.094 kB / 1.091 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.9596, allocations: 21.38 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.96, allocations: 284.8 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.163e-05/0.96, allocations: 21.81 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.96, allocations: 8.703 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-06/0.9601, allocations: 0 / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.9602, allocations: 64.64 kB / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.9602, allocations: 0 / 1.092 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001834/0.9604, allocations: 64.59 kB / 1.092 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.9604, allocations: 53.11 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.169e-05/0.9605, allocations: 103.8 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.9605, allocations: 31.14 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.9606, allocations: 83.81 kB / 1.092 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.9606, allocations: 10.2 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.9607, allocations: 29.33 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.9607, allocations: 321.5 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/0.9608, allocations: 28.17 kB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.9609, allocations: 48.61 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.961, allocations: 87.59 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.961, allocations: 0.8125 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002337/0.9612, allocations: 142.8 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.9613, allocations: 35.17 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.9613, allocations: 3.938 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.9613, allocations: 2.141 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.567e-05/0.9613, allocations: 1.031 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.9613, allocations: 1.859 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.9615, allocations: 34.44 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.9616, allocations: 9.969 kB / 1.093 GB, free: 2.188 MB / 0.8575 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 6.252e-05/0.9616, allocations: 115.8 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.9616, allocations: 1.828 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.9617, allocations: 9.422 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.9617, allocations: 3.938 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.9617, allocations: 1.062 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.9617, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.37e-05/0.9618, allocations: 169.2 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9618, allocations: 4.844 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-06/0.9618, allocations: 1.734 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.9618, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9618, allocations: 2.266 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9618, allocations: 0 / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.9618, allocations: 4.938 kB / 1.093 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.113e-05/0.9619, allocations: 83.33 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.9619, allocations: 87.38 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.962, allocations: 1.609 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.421e-05/0.962, allocations: 0.7812 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.962, allocations: 2.781 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-06/0.962, allocations: 1.219 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.499e-05/0.9621, allocations: 84.69 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9621, allocations: 0.8438 kB / 1.093 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002163/0.9623, allocations: 14.77 kB / 1.093 GB, free: 1.586 MB / 0.8575 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.0001447/0.9624, allocations: 104.5 kB / 1.093 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.9626, allocations: 123.5 kB / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.9627, allocations: 0 / 1.094 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.9627, allocations: 13.47 kB / 1.094 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.9629, allocations: 10.66 kB / 1.094 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.9632, allocations: 150.6 kB / 1.094 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.9633, allocations: 0.6789 MB / 1.094 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.643e-05/0.9633, allocations: 21.12 kB / 1.094 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/0.9633, allocations: 0 / 1.094 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of Templates: time 0.003322/0.9667, allocations: 0.8684 MB / 1.095 GB, free: 468 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches