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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 249.4 MB / 256.7 MB, free: 0.7617 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 177.3 kB / 316 MB, free: 8.938 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 0.5667 GB, free: 13.42 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008987/0.0008987, allocations: 91.34 kB / 0.671 GB, free: 51.62 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 1.161e-05/1.164e-05, allocations: 4 kB / 0.7807 GB, free: 9.953 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6332/0.6332, allocations: 106.3 MB / 0.8846 GB, free: 89.15 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.8153, allocations: 131 MB / 1.013 GB, free: 14.68 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.8157, allocations: 74.02 kB / 1.013 GB, free: 14.61 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.002741/0.8185, allocations: 0.6741 MB / 1.013 GB, free: 13.96 MB / 0.659 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.8185, allocations: 0 / 1.013 GB, free: 13.96 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004783/0.819, allocations: 379.9 kB / 1.014 GB, free: 13.56 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.819, allocations: 8.031 kB / 1.014 GB, free: 13.55 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.8191, allocations: 7.906 kB / 1.014 GB, free: 13.54 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001551/0.8192, allocations: 171 kB / 1.014 GB, free: 13.34 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.8193, allocations: 0 / 1.014 GB, free: 13.34 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.8193, allocations: 7.75 kB / 1.014 GB, free: 13.33 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.626e-05/0.8194, allocations: 23.94 kB / 1.014 GB, free: 13.31 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.119e-05/0.8195, allocations: 53.67 kB / 1.014 GB, free: 13.25 MB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.8195, allocations: 3.75 kB / 1.014 GB, free: 13.25 MB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.8195, allocations: 0 / 1.014 GB, free: 13.25 MB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.8195, allocations: 4.797 kB / 1.014 GB, free: 13.25 MB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.82, allocations: 284.2 kB / 1.014 GB, free: 12.93 MB / 0.659 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.8202, allocations: 47.88 kB / 1.014 GB, free: 12.88 MB / 0.659 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.8202, allocations: 12.98 kB / 1.014 GB, free: 12.86 MB / 0.659 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.8203, allocations: 4.75 kB / 1.014 GB, free: 12.86 MB / 0.659 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.324e-05/0.8204, allocations: 63.56 kB / 1.014 GB, free: 12.79 MB / 0.659 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.8204, allocations: 1 kB / 1.014 GB, free: 12.79 MB / 0.659 GB Notification: Performance of matching and sorting (n=7): time 0.0001955/0.8206, allocations: 65.62 kB / 1.014 GB, free: 12.72 MB / 0.659 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.8206, allocations: 55.97 kB / 1.014 GB, free: 12.65 MB / 0.659 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.8207, allocations: 106 kB / 1.014 GB, free: 12.54 MB / 0.659 GB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.8208, allocations: 29.7 kB / 1.015 GB, free: 12.5 MB / 0.659 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.8208, allocations: 92.72 kB / 1.015 GB, free: 12.41 MB / 0.659 GB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.8209, allocations: 16.36 kB / 1.015 GB, free: 12.39 MB / 0.659 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.8209, allocations: 4 kB / 1.015 GB, free: 12.39 MB / 0.659 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.821, allocations: 314.8 kB / 1.015 GB, free: 12.07 MB / 0.659 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.651e-05/0.821, allocations: 16 kB / 1.015 GB, free: 12.06 MB / 0.659 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.8211, allocations: 39.42 kB / 1.015 GB, free: 12.01 MB / 0.659 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.858e-05/0.8212, allocations: 18.84 kB / 1.015 GB, free: 11.99 MB / 0.659 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8212, allocations: 4 kB / 1.015 GB, free: 11.99 MB / 0.659 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001427/0.8213, allocations: 81.47 kB / 1.015 GB, free: 11.9 MB / 0.659 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.8213, allocations: 4 kB / 1.015 GB, free: 11.9 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.8213, allocations: 4 kB / 1.015 GB, free: 11.89 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8214, allocations: 0 / 1.015 GB, free: 11.89 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.804e-05/0.8215, allocations: 17.02 kB / 1.015 GB, free: 11.88 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.8215, allocations: 0 / 1.015 GB, free: 11.88 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.8216, allocations: 28.08 kB / 1.015 GB, free: 11.85 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.8216, allocations: 0 / 1.015 GB, free: 11.85 MB / 0.659 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001018/0.8217, allocations: 112.9 kB / 1.015 GB, free: 11.73 MB / 0.659 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.8218, allocations: 11.84 kB / 1.015 GB, free: 11.72 MB / 0.659 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.8218, allocations: 12.38 kB / 1.015 GB, free: 11.71 MB / 0.659 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.8218, allocations: 0 / 1.015 GB, free: 11.71 MB / 0.659 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.8218, allocations: 6.188 kB / 1.015 GB, free: 11.71 MB / 0.659 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8218, allocations: 0 / 1.015 GB, free: 11.71 MB / 0.659 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.8221, allocations: 303 kB / 1.016 GB, free: 11.37 MB / 0.659 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8221, allocations: 0.6562 kB / 1.016 GB, free: 11.37 MB / 0.659 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.8222, allocations: 15.98 kB / 1.016 GB, free: 11.35 MB / 0.659 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.8222, allocations: 0 / 1.016 GB, free: 11.35 MB / 0.659 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.8222, allocations: 0 / 1.016 GB, free: 11.35 MB / 0.659 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8222, allocations: 4 kB / 1.016 GB, free: 11.35 MB / 0.659 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/0.8223, allocations: 6.141 kB / 1.016 GB, free: 11.34 MB / 0.659 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001506/0.8224, allocations: 160.7 kB / 1.016 GB, free: 11.17 MB / 0.659 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.8225, allocations: 83.08 kB / 1.016 GB, free: 11.07 MB / 0.659 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.951e-05/0.8226, allocations: 7.984 kB / 1.016 GB, free: 11.07 MB / 0.659 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.8227, allocations: 21.41 kB / 1.016 GB, free: 11.05 MB / 0.659 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.8227, allocations: 3.984 kB / 1.016 GB, free: 11.04 MB / 0.659 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.8228, allocations: 4 kB / 1.016 GB, free: 11.04 MB / 0.659 GB Notification: Performance of sort global known variables: time 5.154e-05/0.8228, allocations: 91.19 kB / 1.016 GB, free: 10.95 MB / 0.659 GB Notification: Performance of remove unused functions: time 0.0002262/0.823, allocations: 11.94 kB / 1.016 GB, free: 10.94 MB / 0.659 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001477/0.8232, allocations: 111.2 kB / 1.016 GB, free: 10.82 MB / 0.659 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.8233, allocations: 46 kB / 1.016 GB, free: 10.78 MB / 0.659 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.8233, allocations: 0 / 1.016 GB, free: 10.78 MB / 0.659 GB Notification: Performance of simCode: created simulation system equations: time 5.156e-05/0.8234, allocations: 23.94 kB / 1.016 GB, free: 10.75 MB / 0.659 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.8236, allocations: 8.734 kB / 1.016 GB, free: 10.75 MB / 0.659 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003872/0.824, allocations: 125 kB / 1.016 GB, free: 10.61 MB / 0.659 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.8243, allocations: 0.6997 MB / 1.017 GB, free: 9.879 MB / 0.659 GB Notification: Performance of SimCode: time 2.3e-07/0.8243, allocations: 4 kB / 1.017 GB, free: 9.875 MB / 0.659 GB Notification: Performance of Templates: time 0.002905/0.8273, allocations: 0.8502 MB / 1.018 GB, free: 9.07 MB / 0.659 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches