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") [: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 10.0.0-master/package.mo): time 1.718/1.718, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.0009087/0.0009087, allocations: 177.3 kB / 490.8 MB, free: 1.934 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.051/1.051, allocations: 221.4 MB / 0.7863 GB, free: 13.8 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.0008018/0.0008019, allocations: 100 kB / 0.9264 GB, free: 14.32 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.502e-06, allocations: 4 kB / 1.072 GB, free: 164.7 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1657, allocations: 143 MB / 1.212 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.6103, allocations: 149.6 MB / 1.358 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001589/0.6105, allocations: 78.56 kB / 1.358 GB, free: 3.375 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.004259/0.6147, allocations: 1.469 MB / 1.359 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.6148, allocations: 0 / 1.359 GB, free: 2.16 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.0002509/0.615, allocations: 363 kB / 1.36 GB, free: 1.762 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.6151, allocations: 12.03 kB / 1.36 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.6151, allocations: 7.906 kB / 1.36 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.6152, allocations: 163.1 kB / 1.36 GB, free: 1.543 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.6152, allocations: 3.938 kB / 1.36 GB, free: 1.539 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.6152, allocations: 4 kB / 1.36 GB, free: 1.535 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.023e-05/0.6153, allocations: 7.938 kB / 1.36 GB, free: 1.527 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.852e-05/0.6153, allocations: 40.94 kB / 1.36 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.6153, allocations: 1.75 kB / 1.36 GB, free: 1.484 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.6154, allocations: 3.906 kB / 1.36 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-06/0.6154, allocations: 0 / 1.36 GB, free: 1.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.6156, allocations: 273.9 kB / 1.36 GB, free: 1.195 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.117e-05/0.6157, allocations: 18.52 kB / 1.36 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.474e-05/0.6157, allocations: 8.922 kB / 1.36 GB, free: 1.156 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.6157, allocations: 3.906 kB / 1.36 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.6158, allocations: 51.41 kB / 1.36 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.6158, allocations: 0 / 1.36 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001104/0.6159, allocations: 44.27 kB / 1.36 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.389e-05/0.6159, allocations: 59.39 kB / 1.36 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.86e-05/0.616, allocations: 100.3 kB / 1.36 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.616, allocations: 25.7 kB / 1.36 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.616, allocations: 84.14 kB / 1.36 GB, free: 0.7617 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.616, allocations: 6.969 kB / 1.36 GB, free: 0.7578 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.6161, allocations: 7.938 kB / 1.36 GB, free: 0.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/0.6161, allocations: 314.8 kB / 1.361 GB, free: 444 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.793e-05/0.6162, allocations: 26 kB / 1.361 GB, free: 428 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.186e-05/0.6162, allocations: 48.81 kB / 1.361 GB, free: 380 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.6164, allocations: 34.22 kB / 1.361 GB, free: 352 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6164, allocations: 0 / 1.361 GB, free: 352 kB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002405/0.6167, allocations: 113.4 kB / 1.361 GB, free: 252 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6167, allocations: 8.094 kB / 1.361 GB, free: 244 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.6167, allocations: 3.906 kB / 1.361 GB, free: 240 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.6167, allocations: 0 / 1.361 GB, free: 240 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.267e-05/0.6167, allocations: 8.672 kB / 1.361 GB, free: 232 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.6168, allocations: 0 / 1.361 GB, free: 232 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.6169, allocations: 39.97 kB / 1.361 GB, free: 192 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.6169, allocations: 4 kB / 1.361 GB, free: 188 kB / 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 5.43e-05/0.617, allocations: 105 kB / 1.361 GB, free: 76 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.617, allocations: 7.844 kB / 1.361 GB, free: 68 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.962e-05/0.617, allocations: 7.688 kB / 1.361 GB, free: 60 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.6171, allocations: 9.609 kB / 1.361 GB, free: 52 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6171, allocations: 0 / 1.361 GB, free: 52 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.6171, allocations: 0 / 1.361 GB, free: 52 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.89e-05/0.6171, allocations: 136.2 kB / 1.361 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.6172, allocations: 0 / 1.361 GB, free: 15.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-06/0.6172, allocations: 7.922 kB / 1.361 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6172, allocations: 3.906 kB / 1.361 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.6172, allocations: 4 kB / 1.361 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.6172, allocations: 0 / 1.361 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6172, allocations: 0 / 1.361 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.482e-05/0.6173, allocations: 76.16 kB / 1.361 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.6173, allocations: 81.09 kB / 1.361 GB, free: 15.69 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.6173, allocations: 4.5 kB / 1.361 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.6173, allocations: 0 / 1.361 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.6174, allocations: 0 / 1.361 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.6174, allocations: 320 / 1.361 GB, free: 15.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.664e-05/0.6174, allocations: 86.53 kB / 1.361 GB, free: 15.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001843/0.6176, allocations: 23.98 kB / 1.361 GB, free: 15.58 MB / 0.823 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.0001164/0.6177, allocations: 111.2 kB / 1.362 GB, free: 15.46 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001276/0.6178, allocations: 75.69 kB / 1.362 GB, free: 15.39 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.6179, allocations: 0 / 1.362 GB, free: 15.39 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.046e-05/0.6179, allocations: 15.42 kB / 1.362 GB, free: 15.38 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.618, allocations: 15.83 kB / 1.362 GB, free: 15.37 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001398/0.6182, allocations: 70.97 kB / 1.362 GB, free: 15.28 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.6183, allocations: 0.6915 MB / 1.362 GB, free: 14.57 MB / 0.823 GB Notification: Performance of SimCode: time 2.6e-07/0.6184, allocations: 3.938 kB / 1.362 GB, free: 14.56 MB / 0.823 GB Notification: Performance of Templates: time 0.002226/0.6206, allocations: 0.8885 MB / 1.363 GB, free: 13.7 MB / 0.823 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