Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 249.4 MB / 256.7 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 188.4 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.2 MB / 0.5667 GB, free: 15.61 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008748, allocations: 85.53 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.654e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1658, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4636/0.6295, allocations: 131.6 MB / 1.013 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.6298, allocations: 67.84 kB / 1.013 GB, free: 6.977 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001444/0.6312, allocations: 328.8 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.6312, allocations: 4 kB / 1.014 GB, free: 6.699 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003595/0.6316, allocations: 343 kB / 1.014 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.6317, allocations: 8.031 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.6317, allocations: 0 / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.6318, allocations: 167 kB / 1.014 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.6318, allocations: 3.984 kB / 1.014 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.6319, allocations: 7.922 kB / 1.014 GB, free: 6.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.44e-05/0.6319, allocations: 14.81 kB / 1.014 GB, free: 6.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.352e-05/0.632, allocations: 37.27 kB / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.632, allocations: 0 / 1.014 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.632, allocations: 7.984 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.632, allocations: 0 / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.6323, allocations: 224.1 kB / 1.014 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.109e-05/0.6324, allocations: 22.14 kB / 1.014 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.6324, allocations: 16.86 kB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.247e-05/0.6324, allocations: 0 / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.6325, allocations: 47.41 kB / 1.014 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.6325, allocations: 4 kB / 1.014 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001324/0.6326, allocations: 45.47 kB / 1.014 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.6327, allocations: 51.41 kB / 1.014 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.275e-05/0.6327, allocations: 94.98 kB / 1.015 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.6328, allocations: 33.7 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.6328, allocations: 83.83 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.6328, allocations: 7.891 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.6328, allocations: 0 / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.6329, allocations: 314.8 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.633, allocations: 7.188 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.633, allocations: 17.47 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.618e-05/0.633, allocations: 4 kB / 1.015 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.633, allocations: 4 kB / 1.015 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.141e-05/0.6331, allocations: 49.22 kB / 1.015 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6331, allocations: 8 kB / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6331, allocations: 0 / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.6331, allocations: 0 / 1.015 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.6332, allocations: 7.938 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.6332, allocations: 0 / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.6333, allocations: 14.58 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.6333, allocations: 4 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.083e-05/0.6334, allocations: 104.9 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.6334, allocations: 4 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.6334, allocations: 7.562 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.6334, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6334, allocations: 3.984 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6334, allocations: 3.984 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.6335, allocations: 145.3 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.6335, allocations: 3.938 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-06/0.6336, allocations: 8 kB / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.6336, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.6336, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.6336, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6336, allocations: 0 / 1.015 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.528e-05/0.6337, allocations: 72.72 kB / 1.015 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.6337, allocations: 77.11 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.6337, allocations: 3.984 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/0.6338, allocations: 12 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.6338, allocations: 10.7 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.6338, allocations: 4 kB / 1.016 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.097e-05/0.6339, allocations: 75.28 kB / 1.016 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001738/0.6341, allocations: 11.38 kB / 1.016 GB, free: 4.324 MB / 0.6355 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,booPul.y,booPul.pulseStart) * 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.0001152/0.6342, allocations: 103 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.946e-05/0.6343, allocations: 23.92 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.6343, allocations: 0 / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.565e-05/0.6343, allocations: 7.938 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.6345, allocations: 7.5 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001856/0.6347, allocations: 62.78 kB / 1.016 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.6349, allocations: 0.6876 MB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.6349, allocations: 64 / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of Templates: time 0.002219/0.6371, allocations: 485.8 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Not.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Not.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches