Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001679/0.001679, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.00182/0.00182, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.407/1.407, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437.1 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002218, allocations: 60.81 kB / 0.8699 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3317, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Not): time 0.002203/0.334, allocations: 0.6134 MB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3357, allocations: 1.11 MB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.3357, allocations: 0 / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.3358, allocations: 3.984 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.245e-05/0.3359, allocations: 3.938 kB / 1.02 GB, free: 8.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.3364, allocations: 127.8 kB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.3366, allocations: 91.89 kB / 1.02 GB, free: 8.66 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.503e-05/0.3367, allocations: 7.938 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.3368, allocations: 31.97 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.673e-05/0.3368, allocations: 31.89 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.3369, allocations: 8 kB / 1.02 GB, free: 8.582 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.337, allocations: 23.94 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.337, allocations: 3.984 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.3371, allocations: 31.91 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3372, allocations: 83.78 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3373, allocations: 3.938 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3373, allocations: 0 / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.3373, allocations: 0 / 1.02 GB, free: 8.438 MB / 0.795 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.0005231/0.3378, allocations: 383.5 kB / 1.02 GB, free: 8.008 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3378, allocations: 8.922 kB / 1.02 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.487e-05/0.3379, allocations: 8.844 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.338, allocations: 168.4 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3381, allocations: 384 / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3381, allocations: 8.375 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.849e-05/0.3382, allocations: 38.25 kB / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3382, allocations: 192 / 1.021 GB, free: 7.738 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3382, allocations: 7.922 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3382, allocations: 4 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.646e-05/0.3383, allocations: 15.94 kB / 1.021 GB, free: 7.711 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.3387, allocations: 276.9 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.835e-05/0.3388, allocations: 30.5 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.3388, allocations: 4.859 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.3388, allocations: 8.047 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.339, allocations: 63.33 kB / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.339, allocations: 0 / 1.021 GB, free: 7.262 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0002087/0.3392, allocations: 65.59 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.3393, allocations: 51.41 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.756e-05/0.3394, allocations: 101.8 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.3395, allocations: 29.7 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.3395, allocations: 88.14 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.3395, allocations: 7.906 kB / 1.021 GB, free: 6.887 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-05/0.3396, allocations: 29.7 kB / 1.021 GB, free: 6.852 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.3399, allocations: 322.8 kB / 1.022 GB, free: 6.527 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.34, allocations: 31.92 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.244e-05/0.34, allocations: 42.56 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3402, allocations: 88.2 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3402, allocations: 0 / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002693/0.3405, allocations: 143.3 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.124e-05/0.3406, allocations: 37.69 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3406, allocations: 3.938 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3406, allocations: 0 / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.045e-05/0.3406, allocations: 4 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.3406, allocations: 0 / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.3409, allocations: 35.91 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.3409, allocations: 4 kB / 1.022 GB, free: 6.102 MB / 0.795 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.000107/0.341, allocations: 125.7 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.344e-05/0.341, allocations: 4 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.3411, allocations: 3.5 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3411, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3411, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3411, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.3412, allocations: 177.9 kB / 1.022 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3412, allocations: 4 kB / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-06/0.3413, allocations: 0 / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3413, allocations: 0 / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.311e-06/0.3413, allocations: 0 / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3413, allocations: 4 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3413, allocations: 0 / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001187/0.3414, allocations: 81 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.3415, allocations: 81.02 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3415, allocations: 7.984 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.3415, allocations: 4 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.3416, allocations: 0 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.3416, allocations: 288 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001538/0.3417, allocations: 83.28 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3417, allocations: 0 / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002145/0.342, allocations: 19.98 kB / 1.023 GB, free: 5.418 MB / 0.795 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.0001788/0.3421, allocations: 99.25 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002429/0.3424, allocations: 131.2 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3424, allocations: 0 / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.3424, allocations: 19.97 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.3426, allocations: 7.938 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.343, allocations: 143.9 kB / 1.023 GB, free: 4.973 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.3433, allocations: 0.6847 MB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.3434, allocations: 7.438 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/0.3434, allocations: 0 / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of Templates: time 0.002603/0.346, allocations: 0.8681 MB / 1.025 GB, free: 3.395 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches