Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009331/0.009331, allocations: 100 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 196.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 469.8 MB / 0.7425 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 67.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.381, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001969/0.3829, allocations: 0.7378 MB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3844, allocations: 1.151 MB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.916e-05/0.3845, allocations: 4 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.3845, allocations: 3.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.583e-05/0.3846, allocations: 11.88 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.3851, allocations: 131.3 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.3853, allocations: 119.7 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.805e-05/0.3854, allocations: 11.98 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.3855, allocations: 43.91 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.742e-05/0.3856, allocations: 51.75 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3856, allocations: 16 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.754e-05/0.3857, allocations: 27.98 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.3857, allocations: 11.98 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.878e-05/0.3857, allocations: 47.83 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.3859, allocations: 111.6 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3859, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3859, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.3859, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 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.0005906/0.3865, allocations: 419.1 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3866, allocations: 16.03 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/0.3866, allocations: 8.938 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3867, allocations: 172.3 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3867, allocations: 4.375 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.3868, allocations: 8.375 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.387, allocations: 62.22 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.387, allocations: 192 / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.387, allocations: 3.938 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.387, allocations: 0 / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.3872, allocations: 51.89 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.3876, allocations: 328.8 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3878, allocations: 54.48 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3879, allocations: 40.95 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.3879, allocations: 7.938 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.3882, allocations: 91.34 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.3882, allocations: 0 / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0004332/0.3886, allocations: 145.6 kB / 1.224 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3887, allocations: 55.34 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3888, allocations: 129.7 kB / 1.225 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.3888, allocations: 33.7 kB / 1.225 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.3888, allocations: 88.14 kB / 1.225 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.3889, allocations: 19.84 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-05/0.3889, allocations: 37.7 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3891, allocations: 322.8 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.3892, allocations: 51.97 kB / 1.225 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.3894, allocations: 84.25 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.3897, allocations: 141.8 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3897, allocations: 0 / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004424/0.3901, allocations: 211.1 kB / 1.226 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.3901, allocations: 37.81 kB / 1.226 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3901, allocations: 4 kB / 1.226 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3902, allocations: 4 kB / 1.226 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.468e-05/0.3903, allocations: 15.92 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3903, allocations: 0 / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001949/0.3905, allocations: 31.97 kB / 1.226 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3905, allocations: 11.98 kB / 1.226 GB, free: 8.422 MB / 0.9825 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.3906, allocations: 134.2 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.497e-05/0.3906, allocations: 7.953 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/0.3906, allocations: 8.375 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3906, allocations: 0 / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.3906, allocations: 3.984 kB / 1.226 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3906, allocations: 3.938 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.3911, allocations: 382.4 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3911, allocations: 4 kB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.3912, allocations: 7.984 kB / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3912, allocations: 0 / 1.226 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.3912, allocations: 12.06 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3912, allocations: 0 / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3912, allocations: 0 / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.3915, allocations: 211.4 kB / 1.226 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.3915, allocations: 85.06 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.3915, allocations: 7.938 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.701e-05/0.3916, allocations: 7.984 kB / 1.226 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.3917, allocations: 4 kB / 1.226 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3917, allocations: 3.938 kB / 1.226 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.055e-05/0.3917, allocations: 91.27 kB / 1.227 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3917, allocations: 4 kB / 1.227 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002667/0.392, allocations: 24 kB / 1.227 GB, free: 7.332 MB / 0.9825 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001611/0.3922, allocations: 109.3 kB / 1.227 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003576/0.3925, allocations: 163.3 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3925, allocations: 0 / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3927, allocations: 36.38 kB / 1.227 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3929, allocations: 22.22 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.3933, allocations: 162.7 kB / 1.227 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.3935, allocations: 0.6924 MB / 1.228 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.939e-05/0.3936, allocations: 4 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.785e-05/0.3936, allocations: 15.42 kB / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3936, allocations: 0 / 1.228 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of Templates: time 0.003872/0.3975, allocations: 1.449 MB / 1.229 GB, free: 4.637 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches