Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") [: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.781/1.781, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.000941/0.000941, allocations: 184.5 kB / 487 MB, free: 5.371 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.113/1.113, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008096/0.0008095, allocations: 90.14 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.442e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1812, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/0.6902, allocations: 148.8 MB / 1.351 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.6904, allocations: 73.41 kB / 1.351 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.005445/0.6959, allocations: 1.815 MB / 1.352 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.6959, allocations: 1.094 kB / 1.352 GB, free: 15.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003495/0.6962, allocations: 398.5 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.6963, allocations: 10.64 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.6963, allocations: 8.938 kB / 1.353 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.567e-05/0.6964, allocations: 174.5 kB / 1.353 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.6964, allocations: 2.156 kB / 1.353 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.6965, allocations: 10.38 kB / 1.353 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.307e-05/0.6965, allocations: 24.3 kB / 1.353 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.531e-05/0.6966, allocations: 46.02 kB / 1.353 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.6966, allocations: 4 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.6967, allocations: 0 / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.6967, allocations: 2.031 kB / 1.353 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.697, allocations: 314 kB / 1.353 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.6971, allocations: 43 kB / 1.353 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.6972, allocations: 24.36 kB / 1.353 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.6972, allocations: 1.375 kB / 1.353 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.188e-05/0.6973, allocations: 61.05 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.6973, allocations: 1.312 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001596/0.6975, allocations: 72.98 kB / 1.354 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.6975, allocations: 54.23 kB / 1.354 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.397e-05/0.6975, allocations: 119.4 kB / 1.354 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.6976, allocations: 27.39 kB / 1.354 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.6976, allocations: 90.09 kB / 1.354 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.6976, allocations: 14.72 kB / 1.354 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.6976, allocations: 3.062 kB / 1.354 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.998e-05/0.6977, allocations: 326.4 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.6978, allocations: 36 kB / 1.354 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.126e-05/0.6978, allocations: 70.75 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.698, allocations: 45.22 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6981, allocations: 1.344 kB / 1.354 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003445/0.6984, allocations: 151.8 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.6984, allocations: 7.875 kB / 1.354 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.6984, allocations: 4.688 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.6985, allocations: 3.047 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.727e-05/0.6986, allocations: 13.92 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.798e-06/0.6986, allocations: 2.188 kB / 1.354 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.6988, allocations: 52.86 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.6988, allocations: 11.14 kB / 1.355 GB, free: 13.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.47e-05/0.6989, allocations: 120.6 kB / 1.355 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.6989, allocations: 7.641 kB / 1.355 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.6989, allocations: 10.81 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.699, allocations: 1.625 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.699, allocations: 0 / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.699, allocations: 2.422 kB / 1.355 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002106/0.6992, allocations: 312.5 kB / 1.355 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6992, allocations: 1.641 kB / 1.355 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.794e-05/0.6993, allocations: 15.17 kB / 1.355 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6993, allocations: 0.875 kB / 1.355 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.6993, allocations: 2.578 kB / 1.355 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.6993, allocations: 0.7031 kB / 1.355 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6993, allocations: 4.969 kB / 1.355 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/0.6994, allocations: 167.2 kB / 1.355 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.6995, allocations: 83.64 kB / 1.355 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.6995, allocations: 6.375 kB / 1.355 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.6996, allocations: 10.14 kB / 1.355 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.6996, allocations: 17.3 kB / 1.355 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.6996, allocations: 3.906 kB / 1.355 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.672e-05/0.6997, allocations: 88.39 kB / 1.355 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000246/0.6999, allocations: 25.52 kB / 1.355 GB, free: 13.23 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: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001238/0.7001, allocations: 111.8 kB / 1.356 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.7002, allocations: 106.9 kB / 1.356 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7003, allocations: 4.188 kB / 1.356 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.7003, allocations: 32.69 kB / 1.356 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.7005, allocations: 12.08 kB / 1.356 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002327/0.7007, allocations: 98.03 kB / 1.356 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.7009, allocations: 0.703 MB / 1.356 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of SimCode: time 2.3e-07/0.7009, allocations: 0 / 1.356 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of Templates: time 0.003276/0.7042, allocations: 1.295 MB / 1.358 GB, free: 12.2 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches