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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.005521/0.005521, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001393/0.001393, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.594/1.594, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.2 MB / 0.6649 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 59.91 kB / 0.8125 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7015/0.703, allocations: 140.3 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.001662/0.7047, allocations: 0.6819 MB / 0.9503 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.7058, allocations: 1.117 MB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.646e-05/0.7058, allocations: 1.125 kB / 0.9513 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.7059, allocations: 3.938 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.375e-05/0.7059, allocations: 1.156 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.7063, allocations: 113.1 kB / 0.9515 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.7064, allocations: 75.33 kB / 0.9515 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.7065, allocations: 14.89 kB / 0.9515 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.7066, allocations: 28.78 kB / 0.9516 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.195e-05/0.7066, allocations: 21.5 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.7067, allocations: 5.969 kB / 0.9516 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.157e-05/0.7067, allocations: 21.83 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.7067, allocations: 1.219 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.7068, allocations: 38.58 kB / 0.9517 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.844e-05/0.7069, allocations: 48.92 kB / 0.9517 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.7069, allocations: 5.25 kB / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.71e-07/0.7069, allocations: 0 / 0.9517 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.7069, allocations: 0 / 0.9517 GB, free: 7.57 MB / 0.7169 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.0003472/0.7073, allocations: 369.6 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.7073, allocations: 9.625 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.7074, allocations: 5.594 kB / 0.9521 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.987e-05/0.7075, allocations: 169.8 kB / 0.9522 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.7075, allocations: 9.75 kB / 0.9523 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.01e-05/0.7075, allocations: 9.469 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.033e-05/0.7076, allocations: 39.45 kB / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7076, allocations: 192 / 0.9523 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7076, allocations: 9.156 kB / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.7076, allocations: 0 / 0.9523 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.133e-05/0.7077, allocations: 13.27 kB / 0.9523 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.708, allocations: 282.4 kB / 0.9526 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.091e-05/0.7081, allocations: 25.27 kB / 0.9526 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.519e-05/0.7081, allocations: 15.59 kB / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.7081, allocations: 0 / 0.9526 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001187/0.7082, allocations: 62.03 kB / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.7082, allocations: 0 / 0.9527 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0001685/0.7084, allocations: 59.7 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.7084, allocations: 60.78 kB / 0.9528 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.268e-05/0.7085, allocations: 107.2 kB / 0.9529 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.7085, allocations: 28.45 kB / 0.9529 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.7086, allocations: 86.88 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.094e-05/0.7086, allocations: 9.281 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.7086, allocations: 29.02 kB / 0.9531 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.7087, allocations: 312.9 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.41e-05/0.7088, allocations: 34.75 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.7089, allocations: 55.62 kB / 0.9534 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.416e-05/0.709, allocations: 79.83 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.709, allocations: 0 / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002258/0.7092, allocations: 142.6 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.7093, allocations: 37.27 kB / 0.9537 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.7093, allocations: 4.078 kB / 0.9537 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.7093, allocations: 9.281 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.666e-05/0.7093, allocations: 1.312 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.7093, allocations: 1.375 kB / 0.9537 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.7095, allocations: 24.28 kB / 0.9537 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.7096, allocations: 4.469 kB / 0.9537 GB, free: 5.504 MB / 0.7169 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.887e-05/0.7096, allocations: 122.5 kB / 0.9538 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/0.7097, allocations: 5.875 kB / 0.9538 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.025e-05/0.7097, allocations: 7.5 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7097, allocations: 1.125 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7097, allocations: 0 / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7097, allocations: 1.328 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.268e-05/0.7098, allocations: 158.8 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7098, allocations: 1.312 kB / 0.954 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-06/0.7098, allocations: 7.922 kB / 0.954 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.7098, allocations: 4.609 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.7098, allocations: 1.25 kB / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.7098, allocations: 0 / 0.954 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7098, allocations: 8.969 kB / 0.954 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.017e-05/0.7099, allocations: 82.16 kB / 0.9541 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.65e-05/0.71, allocations: 78.58 kB / 0.9542 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.71, allocations: 3.984 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.329e-05/0.71, allocations: 1.438 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.71, allocations: 5.25 kB / 0.9542 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.71, allocations: 1.5 kB / 0.9542 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.685e-05/0.7101, allocations: 87.53 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7101, allocations: 0 / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002094/0.7103, allocations: 18.3 kB / 0.9543 GB, free: 4.875 MB / 0.7169 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.0001332/0.7104, allocations: 102.7 kB / 0.9544 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001915/0.7106, allocations: 118 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7106, allocations: 1.375 kB / 0.9545 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.7107, allocations: 12.06 kB / 0.9545 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.7109, allocations: 16.08 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.7111, allocations: 156.8 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.866e-05/0.7112, allocations: 0.6785 MB / 0.9553 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.7113, allocations: 8.656 kB / 0.9554 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/0.7113, allocations: 0 / 0.9554 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of Templates: time 0.002271/0.7135, allocations: 0.8641 MB / 0.9562 GB, free: 3.367 MB / 0.7169 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