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.00153/0.00153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002193/0.002193, allocations: 197.8 kB / 16.54 MB, free: 6.672 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.539/1.539, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.541/2.541, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.8125 GB, free: 14.42 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8325/0.8338, allocations: 140.4 MB / 0.9496 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.00267/0.8365, allocations: 0.6151 MB / 0.9502 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001683/0.8382, allocations: 1.108 MB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.8383, allocations: 1.5 kB / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.406e-05/0.8384, allocations: 0 / 0.9513 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.916e-05/0.8385, allocations: 3.938 kB / 0.9513 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006775/0.8392, allocations: 127.5 kB / 0.9514 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.8394, allocations: 85.3 kB / 0.9515 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.8395, allocations: 7.344 kB / 0.9515 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.8396, allocations: 40.95 kB / 0.9515 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.8397, allocations: 26.16 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.77e-05/0.8398, allocations: 7.781 kB / 0.9516 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.8399, allocations: 21.7 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.8399, allocations: 6.781 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.694e-05/0.84, allocations: 24.97 kB / 0.9516 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.8402, allocations: 90.25 kB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8402, allocations: 1.562 kB / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8402, allocations: 0 / 0.9517 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.8402, allocations: 0 / 0.9517 GB, free: 7.613 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.0004752/0.8407, allocations: 373.9 kB / 0.9521 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8407, allocations: 13.19 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.631e-05/0.8408, allocations: 5 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.8409, allocations: 169.6 kB / 0.9522 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.8409, allocations: 3.125 kB / 0.9522 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.8409, allocations: 8.578 kB / 0.9522 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.8411, allocations: 43.67 kB / 0.9523 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.8411, allocations: 5.734 kB / 0.9523 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.8411, allocations: 3.938 kB / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.8411, allocations: 0 / 0.9523 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.8412, allocations: 9.594 kB / 0.9523 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.8415, allocations: 285.9 kB / 0.9526 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.527e-05/0.8416, allocations: 30.31 kB / 0.9526 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.8416, allocations: 7.141 kB / 0.9526 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.8416, allocations: 0 / 0.9526 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.8418, allocations: 70.05 kB / 0.9527 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.8418, allocations: 3.984 kB / 0.9527 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000189/0.842, allocations: 59.16 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.842, allocations: 52.66 kB / 0.9528 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.423e-05/0.8421, allocations: 108.6 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.8421, allocations: 28.17 kB / 0.9529 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.8421, allocations: 86.67 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.091e-05/0.8421, allocations: 4.938 kB / 0.953 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.8422, allocations: 33.77 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.8423, allocations: 316.1 kB / 0.9533 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.8423, allocations: 30.95 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.105e-05/0.8424, allocations: 47.03 kB / 0.9534 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.37e-05/0.8425, allocations: 84.08 kB / 0.9535 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8425, allocations: 4 kB / 0.9535 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000212/0.8427, allocations: 138.2 kB / 0.9536 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.8428, allocations: 40.88 kB / 0.9537 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8428, allocations: 1.562 kB / 0.9537 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.8428, allocations: 1.5 kB / 0.9537 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-05/0.8428, allocations: 3.938 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.8428, allocations: 2.562 kB / 0.9537 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.8431, allocations: 23.41 kB / 0.9537 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.8431, allocations: 15.95 kB / 0.9537 GB, free: 5.539 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.725e-05/0.8432, allocations: 118.8 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.051e-05/0.8432, allocations: 5.312 kB / 0.9538 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.8432, allocations: 4.938 kB / 0.9538 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.8432, allocations: 3.938 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8432, allocations: 1.469 kB / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.8432, allocations: 0 / 0.9538 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.166e-05/0.8433, allocations: 167.3 kB / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.8433, allocations: 0 / 0.954 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-06/0.8433, allocations: 9.125 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8434, allocations: 0 / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.8434, allocations: 1.688 kB / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8434, allocations: 0 / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8434, allocations: 0 / 0.954 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.336e-05/0.8435, allocations: 83.72 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.8435, allocations: 82.34 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.8435, allocations: 0 / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.346e-05/0.8435, allocations: 9.25 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.8436, allocations: 1.281 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.8436, allocations: 1.125 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.414e-05/0.8436, allocations: 87.05 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8436, allocations: 1.469 kB / 0.9543 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002001/0.8438, allocations: 18 kB / 0.9543 GB, free: 4.914 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.0001447/0.844, allocations: 98.56 kB / 0.9544 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002091/0.8442, allocations: 126.6 kB / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8442, allocations: 0 / 0.9545 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.8442, allocations: 11.86 kB / 0.9545 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001876/0.8444, allocations: 13.22 kB / 0.9545 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002532/0.8447, allocations: 118.9 kB / 0.9546 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.8448, allocations: 0.6826 MB / 0.9553 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.8448, allocations: 10.22 kB / 0.9553 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.455e-05/0.8448, allocations: 12.48 kB / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of SimCode: time 1.162e-06/0.8448, allocations: 0.875 kB / 0.9553 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of Templates: time 0.003593/0.8484, allocations: 1.047 MB / 0.9564 GB, free: 3.332 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/jenkins/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