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.369/1.369, allocations: 251.9 MB / 266.9 MB, free: 11 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.001171/0.001171, allocations: 186.4 kB / 326.5 MB, free: 2.227 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.014/2.014, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0009305/0.000931, allocations: 96.08 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 11.78 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.249, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.4306, allocations: 131.8 MB / 1.029 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.4309, allocations: 71.95 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002659/0.4335, allocations: 0.9621 MB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4336, allocations: 0 / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.4336, allocations: 0 / 1.03 GB, free: 10.88 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004924/0.4341, allocations: 379.1 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4341, allocations: 11.97 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.4342, allocations: 11.84 kB / 1.03 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.4343, allocations: 182.9 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.4344, allocations: 4 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.4344, allocations: 4 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.4346, allocations: 69.66 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4346, allocations: 4 kB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.4346, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4346, allocations: 0 / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.4348, allocations: 55.95 kB / 1.031 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/0.4354, allocations: 312.7 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.4358, allocations: 118.5 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.4358, allocations: 0 / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.4361, allocations: 95.5 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.4361, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000409/0.4365, allocations: 137.6 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.4366, allocations: 55.36 kB / 1.031 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.566e-05/0.4366, allocations: 113.1 kB / 1.031 GB, free: 9.168 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4367, allocations: 25.7 kB / 1.031 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.4367, allocations: 96.12 kB / 1.031 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.4368, allocations: 7.812 kB / 1.031 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.822e-06/0.4368, allocations: 8 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4369, allocations: 322.8 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.437, allocations: 31.92 kB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4371, allocations: 59.78 kB / 1.032 GB, free: 8.598 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.4373, allocations: 39.92 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.4373, allocations: 192 / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002691/0.4375, allocations: 125.5 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4376, allocations: 11.94 kB / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4376, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.4376, allocations: 0 / 1.032 GB, free: 8.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.4377, allocations: 19.92 kB / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.4377, allocations: 0 / 1.032 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/0.4378, allocations: 24.03 kB / 1.032 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.4378, allocations: 8 kB / 1.032 GB, free: 8.371 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,$PRE.edge1.u,edge1.u,edge1.y) * 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 9.583e-05/0.4379, allocations: 118.8 kB / 1.032 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.438, allocations: 11.84 kB / 1.032 GB, free: 8.234 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.625e-05/0.438, allocations: 12.36 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.438, allocations: 4 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.438, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.438, allocations: 4 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.4385, allocations: 374.4 kB / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4385, allocations: 0 / 1.033 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.957e-05/0.4386, allocations: 15.98 kB / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4386, allocations: 0 / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.4386, allocations: 0 / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4386, allocations: 0 / 1.033 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4386, allocations: 3.953 kB / 1.033 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.4389, allocations: 219.3 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.906e-05/0.439, allocations: 77.11 kB / 1.033 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.439, allocations: 4 kB / 1.033 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.4391, allocations: 19.97 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.4392, allocations: 11.94 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.4392, allocations: 0 / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.361e-05/0.4393, allocations: 95.27 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4393, allocations: 4 kB / 1.033 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002091/0.4395, allocations: 12 kB / 1.033 GB, free: 7.305 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0001405/0.4396, allocations: 99.25 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.4399, allocations: 79.89 kB / 1.033 GB, free: 7.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.4399, allocations: 4.672 kB / 1.033 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.4401, allocations: 43.91 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.4403, allocations: 10.45 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003664/0.4407, allocations: 174.8 kB / 1.033 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.4409, allocations: 0.6926 MB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.959e-05/0.441, allocations: 7.844 kB / 1.034 GB, free: 6.141 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.441, allocations: 11.44 kB / 1.034 GB, free: 6.129 MB / 0.6823 GB Notification: Performance of SimCode: time 5.21e-07/0.441, allocations: 4 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of Templates: time 0.003006/0.444, allocations: 0.7276 MB / 1.035 GB, free: 5.406 MB / 0.6823 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