Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.393/2.393, allocations: 390.3 MB / 402.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 168.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.3 MB / 0.7915 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.75 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.655e-05/3.657e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3356, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.121/1.457, allocations: 150.4 MB / 1.366 GB, free: 3.605 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/1.457, allocations: 71.83 kB / 1.366 GB, free: 3.566 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006366/1.464, allocations: 2.098 MB / 1.368 GB, free: 1.734 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.618e-06/1.464, allocations: 0 / 1.368 GB, free: 1.734 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.118e-05/1.464, allocations: 7.938 kB / 1.368 GB, free: 1.727 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005526/1.464, allocations: 396.1 kB / 1.368 GB, free: 1.297 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.464, allocations: 8.031 kB / 1.368 GB, free: 1.289 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/1.464, allocations: 4.5 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/1.465, allocations: 178.8 kB / 1.368 GB, free: 1.07 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/1.465, allocations: 11.98 kB / 1.368 GB, free: 1.059 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/1.465, allocations: 11.56 kB / 1.368 GB, free: 1.051 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/1.465, allocations: 49.25 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.465, allocations: 0 / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/1.465, allocations: 3.625 kB / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/1.465, allocations: 0 / 1.368 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.419e-05/1.465, allocations: 15.44 kB / 1.368 GB, free: 0.9922 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/1.465, allocations: 335.9 kB / 1.369 GB, free: 0.6445 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/1.466, allocations: 46.89 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/1.466, allocations: 16.36 kB / 1.369 GB, free: 0.5859 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/1.466, allocations: 3.984 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/1.466, allocations: 84.83 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/1.466, allocations: 0 / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002215/1.466, allocations: 87.84 kB / 1.369 GB, free: 428 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/1.466, allocations: 55.36 kB / 1.369 GB, free: 360 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.918e-05/1.466, allocations: 108.2 kB / 1.369 GB, free: 252 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/1.466, allocations: 29.7 kB / 1.369 GB, free: 216 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/1.466, allocations: 95.97 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/1.466, allocations: 22.73 kB / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.258e-05/1.466, allocations: 0 / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.467, allocations: 330.6 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/1.467, allocations: 42.12 kB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/1.467, allocations: 74.91 kB / 1.37 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/1.467, allocations: 64.81 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.467, allocations: 0 / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003107/1.467, allocations: 179.4 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/1.467, allocations: 42.61 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.467, allocations: 0 / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.467, allocations: 4 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/1.467, allocations: 15.98 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/1.467, allocations: 4.062 kB / 1.37 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/1.468, allocations: 55.72 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/1.468, allocations: 8 kB / 1.37 GB, free: 15.33 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.053e-05/1.468, allocations: 121.5 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.479e-05/1.468, allocations: 11.89 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.458e-05/1.468, allocations: 7.75 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.468, allocations: 0 / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.468, allocations: 0 / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/1.468, allocations: 4 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003568/1.468, allocations: 346.2 kB / 1.371 GB, free: 14.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.468, allocations: 3.984 kB / 1.371 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/1.468, allocations: 15.94 kB / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.468, allocations: 0 / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/1.468, allocations: 0 / 1.371 GB, free: 14.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.468, allocations: 7.984 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.468, allocations: 3.953 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/1.469, allocations: 175.7 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.553e-05/1.469, allocations: 85.08 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/1.469, allocations: 4.062 kB / 1.371 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/1.469, allocations: 12 kB / 1.371 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/1.469, allocations: 15.5 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/1.469, allocations: 4 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.204e-05/1.469, allocations: 95.45 kB / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.469, allocations: 0 / 1.371 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000242/1.469, allocations: 31.41 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0002037/1.469, allocations: 121.6 kB / 1.371 GB, free: 14.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002612/1.47, allocations: 150.8 kB / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.47, allocations: 0 / 1.371 GB, free: 14.11 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/1.47, allocations: 26.81 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/1.47, allocations: 7.438 kB / 1.371 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/1.47, allocations: 108 kB / 1.371 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.471, allocations: 0.6929 MB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.533e-05/1.471, allocations: 15.7 kB / 1.372 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/1.471, allocations: 11.44 kB / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of SimCode: time 6.51e-07/1.471, allocations: 0 / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of Templates: time 0.003839/1.474, allocations: 1.253 MB / 1.373 GB, free: 11.99 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches