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.454/1.454, allocations: 249.5 MB / 257 MB, free: 6.797 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.00118/0.00118, allocations: 171.7 kB / 316.3 MB, free: 3.234 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.423/1.423, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008478/0.0008478, allocations: 89.16 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.562e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1981, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6523/0.8504, allocations: 132 MB / 1.014 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.8507, allocations: 73.39 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002553/0.8533, allocations: 0.9723 MB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8533, allocations: 0.75 kB / 1.015 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.8533, allocations: 0 / 1.015 GB, free: 4.832 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004218/0.8537, allocations: 366.1 kB / 1.016 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.8538, allocations: 12.03 kB / 1.016 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.8538, allocations: 7.906 kB / 1.016 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.854, allocations: 186.8 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.854, allocations: 0 / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.854, allocations: 4 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.796e-05/0.8541, allocations: 19.5 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.756e-05/0.8542, allocations: 49.38 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.8542, allocations: 4 kB / 1.016 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.8542, allocations: 7.984 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.8543, allocations: 0 / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.8547, allocations: 280.6 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.8551, allocations: 101.6 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.8552, allocations: 22.67 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.8552, allocations: 0 / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001309/0.8553, allocations: 66.81 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.8553, allocations: 2.734 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001814/0.8555, allocations: 69.86 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.8556, allocations: 59.39 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.8557, allocations: 100.8 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.8557, allocations: 33.7 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.8557, allocations: 95.89 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.8558, allocations: 15.69 kB / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.8558, allocations: 0 / 1.017 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.8559, allocations: 326.7 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.118e-05/0.8559, allocations: 11.94 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.154e-05/0.856, allocations: 43.62 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.488e-05/0.856, allocations: 19.8 kB / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8561, allocations: 0 / 1.017 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001146/0.8562, allocations: 73.44 kB / 1.017 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.8562, allocations: 8 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8562, allocations: 3.938 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8562, allocations: 4 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.8563, allocations: 16.08 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.8563, allocations: 4 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.606e-05/0.8564, allocations: 19.89 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.8565, allocations: 4.688 kB / 1.017 GB, free: 2.738 MB / 0.6355 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 7.346e-05/0.8565, allocations: 112.8 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.317e-05/0.8566, allocations: 4 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.8566, allocations: 16.42 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8566, allocations: 3.938 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8566, allocations: 4 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.8566, allocations: 3.984 kB / 1.017 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.8569, allocations: 314.3 kB / 1.018 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.8569, allocations: 4.062 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.526e-05/0.857, allocations: 11.98 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.857, allocations: 0 / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.857, allocations: 4 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.857, allocations: 4 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.857, allocations: 0 / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001339/0.8572, allocations: 167.1 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.568e-05/0.8572, allocations: 81.02 kB / 1.018 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.8573, allocations: 4 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.8574, allocations: 19.61 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.8574, allocations: 7.984 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.8574, allocations: 7.984 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.563e-05/0.8575, allocations: 91.16 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8575, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000218/0.8577, allocations: 11.94 kB / 1.018 GB, free: 1.84 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: 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.0001217/0.8578, allocations: 103.2 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.858, allocations: 50.86 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.858, allocations: 0 / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.468e-05/0.858, allocations: 15.81 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.8582, allocations: 20.05 kB / 1.018 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/0.8586, allocations: 114.1 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.8589, allocations: 0.6963 MB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.475e-05/0.8589, allocations: 3.984 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.859, allocations: 15.38 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.859, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of Templates: time 0.002545/0.8615, allocations: 0.7244 MB / 1.02 GB, free: 100 kB / 0.6355 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