Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001107/0.001107, allocations: 180.8 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.694/1.694, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009598, allocations: 99.77 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.859e-05/1.861e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3111, allocations: 142.3 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9775/1.289, allocations: 148.9 MB / 1.351 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.289, allocations: 72.33 kB / 1.351 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00725/1.296, allocations: 2.093 MB / 1.354 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.814e-06/1.296, allocations: 0 / 1.354 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.906e-06/1.296, allocations: 0 / 1.354 GB, free: 34.02 MB / 0.8386 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.0005102/1.297, allocations: 396.1 kB / 1.354 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.297, allocations: 12.23 kB / 1.354 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.581e-05/1.297, allocations: 11.8 kB / 1.354 GB, free: 33.62 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/1.297, allocations: 176 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/1.297, allocations: 8.625 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/1.297, allocations: 4.641 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.534e-05/1.297, allocations: 23.14 kB / 1.354 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.062e-05/1.297, allocations: 41.83 kB / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/1.297, allocations: 0 / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.297, allocations: 4.391 kB / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.297, allocations: 0 / 1.354 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000478/1.298, allocations: 304.8 kB / 1.354 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/1.298, allocations: 52.94 kB / 1.354 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/1.298, allocations: 16.97 kB / 1.355 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/1.298, allocations: 3.75 kB / 1.355 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/1.298, allocations: 77.98 kB / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/1.298, allocations: 0 / 1.355 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001916/1.298, allocations: 79.47 kB / 1.355 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.3e-05/1.298, allocations: 56 kB / 1.355 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/1.298, allocations: 110 kB / 1.355 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/1.298, allocations: 29.67 kB / 1.355 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/1.299, allocations: 93.56 kB / 1.355 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/1.299, allocations: 12.39 kB / 1.355 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.274e-05/1.299, allocations: 3.875 kB / 1.355 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.299, allocations: 325.5 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/1.299, allocations: 37.09 kB / 1.355 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.027e-05/1.299, allocations: 66.27 kB / 1.355 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/1.299, allocations: 47.78 kB / 1.355 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.299, allocations: 0 / 1.355 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003295/1.299, allocations: 150.9 kB / 1.356 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.457e-05/1.299, allocations: 45.39 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.299, allocations: 0 / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.3, allocations: 4.375 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.986e-05/1.3, allocations: 17.17 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.3, allocations: 0.875 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/1.3, allocations: 45 kB / 1.356 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/1.3, allocations: 9.109 kB / 1.356 GB, free: 32.29 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 8.162e-05/1.3, allocations: 124.7 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/1.3, allocations: 8.406 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/1.3, allocations: 8.578 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.3, allocations: 4.484 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/1.3, allocations: 0 / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/1.3, allocations: 0.6094 kB / 1.356 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/1.3, allocations: 316.1 kB / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.3, allocations: 0 / 1.356 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/1.3, allocations: 18.67 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.093e-06/1.3, allocations: 3.844 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/1.3, allocations: 0.7031 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/1.3, allocations: 0.5625 kB / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.3, allocations: 0 / 1.356 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/1.301, allocations: 182.3 kB / 1.356 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/1.301, allocations: 85.38 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/1.301, allocations: 4.656 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.852e-05/1.301, allocations: 6.766 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/1.301, allocations: 14.25 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/1.301, allocations: 6.125 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.266e-05/1.301, allocations: 88.09 kB / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.301, allocations: 0 / 1.357 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002464/1.301, allocations: 23.52 kB / 1.357 GB, free: 31.56 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.0001751/1.301, allocations: 125.4 kB / 1.357 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001981/1.302, allocations: 147.5 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/1.302, allocations: 0 / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/1.302, allocations: 20.05 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/1.302, allocations: 16.83 kB / 1.357 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002413/1.302, allocations: 96.28 kB / 1.357 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/1.302, allocations: 0.6965 MB / 1.358 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.813e-05/1.302, allocations: 9.203 kB / 1.358 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/1.302, allocations: 12.16 kB / 1.358 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.302, allocations: 0 / 1.358 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of Templates: time 0.003929/1.306, allocations: 1.175 MB / 1.359 GB, free: 30.49 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches