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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.331/2.331, allocations: 390.3 MB / 402.8 MB, free: 6.688 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 221.3 MB / 0.7915 GB, free: 5.395 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.0009449, allocations: 87.89 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.682e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3357, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9527/1.288, allocations: 150.1 MB / 1.365 GB, free: 3.961 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/1.289, allocations: 75.3 kB / 1.365 GB, free: 3.922 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004706/1.293, allocations: 1.774 MB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.022e-06/1.293, allocations: 0 / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.293, allocations: 0 / 1.367 GB, free: 2.375 MB / 0.823 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.0002967/1.294, allocations: 370.5 kB / 1.367 GB, free: 1.969 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/1.294, allocations: 11.97 kB / 1.367 GB, free: 1.957 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/1.294, allocations: 8.625 kB / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.324e-05/1.294, allocations: 166.9 kB / 1.368 GB, free: 1.746 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/1.294, allocations: 4 kB / 1.368 GB, free: 1.742 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/1.294, allocations: 4 kB / 1.368 GB, free: 1.738 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.276e-05/1.294, allocations: 41.06 kB / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.573e-06/1.294, allocations: 0 / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/1.294, allocations: 0 / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/1.294, allocations: 0 / 1.368 GB, free: 1.695 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/1.294, allocations: 7.812 kB / 1.368 GB, free: 1.691 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/1.294, allocations: 301.3 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/1.294, allocations: 18.58 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.208e-05/1.294, allocations: 4.859 kB / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-06/1.294, allocations: 0 / 1.368 GB, free: 1.332 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.547e-05/1.295, allocations: 66.08 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 3.957e-06/1.295, allocations: 4 kB / 1.368 GB, free: 1.262 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001314/1.295, allocations: 53.06 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/1.295, allocations: 59.36 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.01e-05/1.295, allocations: 92.31 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/1.295, allocations: 29.7 kB / 1.368 GB, free: 1.008 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/1.295, allocations: 90.8 kB / 1.368 GB, free: 0.918 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.031e-05/1.295, allocations: 7.969 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/1.295, allocations: 3.312 kB / 1.368 GB, free: 0.9102 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001087/1.295, allocations: 318.8 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.849e-05/1.295, allocations: 30 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/1.295, allocations: 44.06 kB / 1.369 GB, free: 0.5273 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.239e-05/1.295, allocations: 57.19 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.295, allocations: 0 / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002144/1.296, allocations: 151.4 kB / 1.369 GB, free: 340 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/1.296, allocations: 45.47 kB / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/1.296, allocations: 0 / 1.369 GB, free: 292 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/1.296, allocations: 4 kB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.189e-05/1.296, allocations: 0 / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/1.296, allocations: 0 / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/1.296, allocations: 39.92 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/1.296, allocations: 8 kB / 1.369 GB, free: 240 kB / 0.823 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 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/1.296, allocations: 105 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/1.296, allocations: 7.734 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/1.296, allocations: 7.5 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/1.296, allocations: 0 / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/1.296, allocations: 0 / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/1.296, allocations: 0 / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/1.296, allocations: 156.9 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/1.296, allocations: 0 / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/1.296, allocations: 8 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/1.296, allocations: 0 / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/1.296, allocations: 3.984 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.296, allocations: 0 / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/1.296, allocations: 3.938 kB / 1.369 GB, free: 15.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/1.296, allocations: 84.48 kB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/1.296, allocations: 77.11 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/1.296, allocations: 0 / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.539e-05/1.296, allocations: 4.625 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.361e-05/1.296, allocations: 11.61 kB / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/1.296, allocations: 0 / 1.37 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.57e-05/1.296, allocations: 83.59 kB / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.296, allocations: 0 / 1.37 GB, free: 15.62 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001909/1.297, allocations: 19.88 kB / 1.37 GB, free: 15.6 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/1.297, allocations: 111.2 kB / 1.37 GB, free: 15.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001726/1.297, allocations: 121 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/1.297, allocations: 8.125 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/1.297, allocations: 11.81 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/1.297, allocations: 12.62 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001563/1.297, allocations: 64.62 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/1.297, allocations: 0.6887 MB / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.688e-05/1.297, allocations: 0 / 1.371 GB, free: 14.55 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.611e-05/1.298, allocations: 11.44 kB / 1.371 GB, free: 14.54 MB / 0.8386 GB Notification: Performance of SimCode: time 3.01e-07/1.298, allocations: 4 kB / 1.371 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of Templates: time 0.002978/1.301, allocations: 0.9417 MB / 1.372 GB, free: 13.61 MB / 0.8386 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches