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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001249/0.001248, allocations: 184.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.123/2.123, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009463/0.0009461, allocations: 91.86 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004025, allocations: 14.91 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 106.3 MB / 0.9001 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.4169, allocations: 131.8 MB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.4171, allocations: 67.97 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002639/0.4198, allocations: 0.9777 MB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4198, allocations: 0 / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.4198, allocations: 4 kB / 1.03 GB, free: 10.83 MB / 0.6823 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.0004744/0.4203, allocations: 382.9 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.4203, allocations: 12.03 kB / 1.03 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.4204, allocations: 11.84 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.4205, allocations: 171 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.4205, allocations: 4 kB / 1.03 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.4206, allocations: 4 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.4207, allocations: 77.59 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-06/0.4208, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.4208, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-06/0.4208, allocations: 4 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.421, allocations: 55.95 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.4215, allocations: 312.7 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003932/0.4219, allocations: 126.5 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.4219, allocations: 0 / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.4221, allocations: 91.48 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.4221, allocations: 0 / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0003895/0.4225, allocations: 141.5 kB / 1.031 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.4226, allocations: 67.34 kB / 1.031 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.4227, allocations: 105.2 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.4227, allocations: 29.7 kB / 1.031 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.731e-05/0.4228, allocations: 88.33 kB / 1.031 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.4228, allocations: 15.8 kB / 1.031 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-06/0.4228, allocations: 4 kB / 1.031 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.423, allocations: 322.8 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.4231, allocations: 31.97 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.4232, allocations: 55.42 kB / 1.032 GB, free: 8.539 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.4233, allocations: 43.91 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4233, allocations: 0 / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002596/0.4236, allocations: 121.6 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4236, allocations: 8 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4236, allocations: 0 / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.4237, allocations: 0 / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.107e-05/0.4237, allocations: 15.98 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.4238, allocations: 3.938 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.765e-05/0.4239, allocations: 27.97 kB / 1.032 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.4239, allocations: 4 kB / 1.032 GB, free: 8.312 MB / 0.6823 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 () * Number of clocked 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.0001001/0.424, allocations: 123.1 kB / 1.032 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.424, allocations: 15.83 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.424, allocations: 8.938 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.424, allocations: 4 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.424, allocations: 0 / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4241, allocations: 64 / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.4245, allocations: 382.4 kB / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4245, allocations: 0 / 1.033 GB, free: 7.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.4246, allocations: 11.94 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4246, allocations: 7.984 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4246, allocations: 0 / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4246, allocations: 0 / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.4246, allocations: 7.953 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002948/0.4249, allocations: 211.7 kB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.425, allocations: 85 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.425, allocations: 4 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.4251, allocations: 11.98 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4252, allocations: 11.98 kB / 1.033 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4252, allocations: 7.953 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.4253, allocations: 91.27 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4253, allocations: 4 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002338/0.4255, allocations: 12 kB / 1.033 GB, free: 7.234 MB / 0.6823 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) * Number of clocked states: 0 () * 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.0001143/0.4256, allocations: 99.25 kB / 1.033 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.4259, allocations: 91.94 kB / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4259, allocations: 0.6719 kB / 1.033 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.426, allocations: 35.98 kB / 1.033 GB, free: 7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.4262, allocations: 11.98 kB / 1.033 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003813/0.4266, allocations: 198.7 kB / 1.033 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.4269, allocations: 0.6926 MB / 1.034 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.4269, allocations: 8 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.427, allocations: 11.42 kB / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/0.427, allocations: 0 / 1.034 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of Templates: time 0.002694/0.4297, allocations: 0.7561 MB / 1.035 GB, free: 5.285 MB / 0.6823 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