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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.00103/0.00103, allocations: 175.9 kB / 487 MB, free: 5.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.122/1.122, allocations: 221.3 MB / 0.7819 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008456/0.0008456, allocations: 98.44 kB / 0.9213 GB, free: 2.684 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/7.033e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1804, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5086/0.689, allocations: 148.5 MB / 1.35 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.6893, allocations: 66.12 kB / 1.35 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004517/0.6938, allocations: 1.472 MB / 1.352 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.6938, allocations: 0 / 1.352 GB, free: 15.85 MB / 0.8073 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.0002357/0.6941, allocations: 362.4 kB / 1.352 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.6941, allocations: 8.125 kB / 1.352 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.482e-05/0.6942, allocations: 11.56 kB / 1.352 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.902e-05/0.6942, allocations: 166.6 kB / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.6942, allocations: 0 / 1.352 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.6943, allocations: 11.88 kB / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.686e-05/0.6943, allocations: 8.75 kB / 1.352 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.833e-05/0.6944, allocations: 40.39 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.6944, allocations: 0 / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.6944, allocations: 0.9688 kB / 1.352 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.6944, allocations: 4 kB / 1.352 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.6947, allocations: 264 kB / 1.353 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.66e-05/0.6947, allocations: 25.7 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.6948, allocations: 12.52 kB / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.6948, allocations: 0 / 1.353 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.6948, allocations: 52.39 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.6948, allocations: 0.875 kB / 1.353 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001231/0.695, allocations: 48.86 kB / 1.353 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.963e-05/0.695, allocations: 54.2 kB / 1.353 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.154e-05/0.695, allocations: 103.3 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.6951, allocations: 27.73 kB / 1.353 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.511e-05/0.6951, allocations: 82.23 kB / 1.353 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.346e-06/0.6951, allocations: 10.77 kB / 1.353 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.6951, allocations: 6.625 kB / 1.353 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.645e-05/0.6952, allocations: 313.7 kB / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.423e-05/0.6952, allocations: 24.77 kB / 1.353 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.611e-05/0.6953, allocations: 41.53 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.6955, allocations: 36.39 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.6955, allocations: 4 kB / 1.353 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002628/0.6957, allocations: 114.9 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.6958, allocations: 5.156 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.6958, allocations: 1.219 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.6958, allocations: 1.031 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.345e-05/0.6958, allocations: 1.031 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.6958, allocations: 2.281 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.696, allocations: 42.48 kB / 1.354 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.82e-05/0.696, allocations: 9.609 kB / 1.354 GB, free: 14.19 MB / 0.8073 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 4.63e-05/0.6961, allocations: 109.6 kB / 1.354 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-06/0.6961, allocations: 6.156 kB / 1.354 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.15e-05/0.6961, allocations: 8.719 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.6961, allocations: 0 / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6961, allocations: 6.281 kB / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.6961, allocations: 0 / 1.354 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.993e-05/0.6962, allocations: 143.4 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6962, allocations: 3.938 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-06/0.6962, allocations: 2.312 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.6962, allocations: 4.969 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.6962, allocations: 0.7812 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.6962, allocations: 0 / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.6962, allocations: 0.6562 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.865e-05/0.6963, allocations: 73.14 kB / 1.354 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.6963, allocations: 79.41 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.6964, allocations: 0.9688 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.6964, allocations: 0.75 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.6964, allocations: 6.797 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-06/0.6964, allocations: 2.375 kB / 1.354 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.129e-05/0.6964, allocations: 88.08 kB / 1.354 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002047/0.6967, allocations: 18.97 kB / 1.354 GB, free: 13.65 MB / 0.8073 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.0001274/0.6968, allocations: 117 kB / 1.354 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001442/0.6969, allocations: 75.56 kB / 1.354 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.6969, allocations: 0 / 1.354 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.3e-05/0.697, allocations: 11.56 kB / 1.354 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.6971, allocations: 8.547 kB / 1.354 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001603/0.6973, allocations: 71.34 kB / 1.354 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.6975, allocations: 0.6897 MB / 1.355 GB, free: 28.75 MB / 0.823 GB Notification: Performance of SimCode: time 6.31e-07/0.6975, allocations: 1.031 kB / 1.355 GB, free: 28.75 MB / 0.823 GB Notification: Performance of Templates: time 0.002813/0.7003, allocations: 0.8916 MB / 1.356 GB, free: 28.66 MB / 0.823 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","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches