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.429/1.429, allocations: 249.3 MB / 261.8 MB, free: 5.879 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.001034/0.001034, allocations: 184.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008508/0.0008508, allocations: 93.27 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.831e-05/3.833e-05, allocations: 4 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2022, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7082/0.9104, allocations: 131.7 MB / 1.02 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.9107, allocations: 74.94 kB / 1.021 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002579/0.9133, allocations: 0.961 MB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9133, allocations: 0 / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.9133, allocations: 0 / 1.021 GB, free: 2.027 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.0004304/0.9137, allocations: 369.5 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/0.9138, allocations: 8.031 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.758e-05/0.9139, allocations: 7.906 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.914, allocations: 174.9 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.914, allocations: 7.984 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.9141, allocations: 3.625 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.9142, allocations: 59.97 kB / 1.022 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.9142, allocations: 4 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.9142, allocations: 0 / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9142, allocations: 0 / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.675e-05/0.9143, allocations: 23.31 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.9148, allocations: 314 kB / 1.022 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.9151, allocations: 100.7 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.9152, allocations: 23.48 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.9152, allocations: 0 / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001244/0.9153, allocations: 69.3 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.444e-06/0.9154, allocations: 4 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0001836/0.9155, allocations: 79.08 kB / 1.023 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.9156, allocations: 55.36 kB / 1.023 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.9157, allocations: 112 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.9157, allocations: 29.7 kB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.9158, allocations: 86.95 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.9158, allocations: 19.73 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.9158, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.9159, allocations: 318.3 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-05/0.916, allocations: 14.81 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.195e-05/0.916, allocations: 50.61 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.9161, allocations: 19.69 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9161, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001422/0.9162, allocations: 88.27 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.9162, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.9163, allocations: 3.938 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.9163, allocations: 7.938 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.9164, allocations: 20.03 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.9164, allocations: 4.578 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.28e-05/0.9165, allocations: 19.97 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.9165, allocations: 7.062 kB / 1.023 GB, free: 15.87 MB / 0.6511 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 6.824e-05/0.9166, allocations: 108.9 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.9166, allocations: 7.906 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.9166, allocations: 11.69 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.9166, allocations: 0 / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.9166, allocations: 3.938 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9167, allocations: 3.953 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.917, allocations: 336.3 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.917, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.287e-05/0.9171, allocations: 11.98 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.9171, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.9171, allocations: 3.938 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.654e-06/0.9171, allocations: 4.109 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.9171, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.9172, allocations: 178 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.9173, allocations: 85.02 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.9173, allocations: 3.188 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.9174, allocations: 19.98 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.9175, allocations: 7.938 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.9175, allocations: 7.984 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.9176, allocations: 90.72 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9176, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002026/0.9178, allocations: 15.94 kB / 1.024 GB, free: 14.94 MB / 0.6511 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.0001271/0.9179, allocations: 98.19 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000121/0.918, allocations: 54.55 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.9181, allocations: 0 / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.635e-05/0.9181, allocations: 31.08 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.9183, allocations: 11.94 kB / 1.025 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002487/0.9186, allocations: 98.48 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.9188, allocations: 0.6928 MB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.9188, allocations: 15.78 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.9189, allocations: 15.42 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of SimCode: time 4.21e-07/0.9189, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.002582/0.9215, allocations: 0.7416 MB / 1.026 GB, free: 13.18 MB / 0.6511 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