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.Edge.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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.612/1.612, allocations: 249.5 MB / 257 MB, free: 6.918 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.001101/0.001101, allocations: 175.8 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.446/1.446, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0009165/0.0009167, allocations: 91.14 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.768e-05/1.77e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2212, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7607/0.982, allocations: 132 MB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.9823, allocations: 70.83 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00264/0.9849, allocations: 0.9539 MB / 1.015 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.985, allocations: 3.938 kB / 1.015 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.985, allocations: 0 / 1.015 GB, free: 4.836 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004855/0.9855, allocations: 361.7 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.9855, allocations: 12.02 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.9856, allocations: 7.906 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.9857, allocations: 170.8 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.9857, allocations: 0 / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.9858, allocations: 4 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.465e-05/0.9859, allocations: 22.62 kB / 1.016 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.986, allocations: 45.19 kB / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.986, allocations: 0 / 1.016 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.986, allocations: 3.984 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.986, allocations: 8 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.9865, allocations: 282 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.9869, allocations: 103.1 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.56e-05/0.9869, allocations: 15.73 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/0.9869, allocations: 4 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.9871, allocations: 70.62 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.755e-06/0.9871, allocations: 0 / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000179/0.9873, allocations: 75.08 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.9873, allocations: 51.41 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.051e-05/0.9874, allocations: 111.2 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.9874, allocations: 28.64 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.9875, allocations: 94.78 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.9875, allocations: 19.11 kB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/0.9875, allocations: 0 / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9877, allocations: 317.7 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.9877, allocations: 14 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.169e-05/0.9878, allocations: 46.3 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.635e-05/0.9878, allocations: 19.75 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.9878, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001232/0.9879, allocations: 80.97 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.988, allocations: 6.031 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.988, allocations: 0 / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.988, allocations: 4 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.9881, allocations: 19.92 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.9881, allocations: 96 / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.187e-05/0.9882, allocations: 19.98 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.9882, allocations: 8.828 kB / 1.017 GB, free: 2.754 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,$PRE.edge1.u,edge1.u,edge1.y) * 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.197e-05/0.9883, allocations: 107.5 kB / 1.017 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.9883, allocations: 7.906 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/0.9884, allocations: 8.5 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.9884, allocations: 7.984 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9884, allocations: 7.938 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9884, allocations: 0 / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.9887, allocations: 309.5 kB / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.9887, allocations: 0 / 1.018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.9887, allocations: 13.17 kB / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.9888, allocations: 0 / 1.018 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.9888, allocations: 4 kB / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.9888, allocations: 0 / 1.018 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.9888, allocations: 4 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.9889, allocations: 174.9 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.989, allocations: 89 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.989, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.9891, allocations: 12.05 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.9892, allocations: 15.8 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.9892, allocations: 8 kB / 1.018 GB, free: 1.957 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.9892, allocations: 87.22 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9892, allocations: 0 / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002133/0.9895, allocations: 12.41 kB / 1.018 GB, free: 1.863 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001322/0.9896, allocations: 107.2 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.9897, allocations: 43.25 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.9897, allocations: 0 / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.561e-05/0.9898, allocations: 23.94 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.99, allocations: 15.92 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002592/0.9903, allocations: 97.98 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.9905, allocations: 0.6885 MB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.9905, allocations: 11.84 kB / 1.019 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.9906, allocations: 15.44 kB / 1.019 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of SimCode: time 2.6e-07/0.9906, allocations: 3.938 kB / 1.019 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of Templates: time 0.002665/0.9933, allocations: 0.6849 MB / 1.02 GB, free: 172 kB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches