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/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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009666/0.009665, allocations: 98.14 kB / 15.73 MB, free: 6.059 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.002261/0.00226, allocations: 199.8 kB / 16.68 MB, free: 5.977 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.517/1.517, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.851/2.851, allocations: 461.8 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3845, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002371/0.3869, allocations: 0.7333 MB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.3887, allocations: 1.151 MB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.3888, allocations: 3.938 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.3889, allocations: 3.938 kB / 1.21 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.926e-05/0.3891, allocations: 11.91 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006297/0.3897, allocations: 143.1 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.3901, allocations: 119.8 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3902, allocations: 15.98 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.3903, allocations: 47.91 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3905, allocations: 47.81 kB / 1.21 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.3905, allocations: 12 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.95e-05/0.3906, allocations: 31.91 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.745e-05/0.3906, allocations: 11.98 kB / 1.21 GB, free: 7.297 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.3907, allocations: 39.86 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.391, allocations: 115.7 kB / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.391, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.391, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.391, allocations: 0 / 1.21 GB, free: 7.145 MB / 0.9669 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.0007326/0.3917, allocations: 412.9 kB / 1.211 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.3918, allocations: 12.03 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.638e-05/0.3919, allocations: 12.84 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3921, allocations: 172.3 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.3921, allocations: 8.359 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.366e-05/0.3921, allocations: 8.375 kB / 1.211 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3924, allocations: 62.23 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3924, allocations: 4.172 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.3924, allocations: 11.86 kB / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.3924, allocations: 0 / 1.211 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.3926, allocations: 39.97 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000607/0.3932, allocations: 336.6 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.3935, allocations: 62.55 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3936, allocations: 36.95 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.3936, allocations: 0 / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002834/0.3939, allocations: 99.36 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.3939, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004749/0.3944, allocations: 137.5 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.3945, allocations: 55.41 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.3946, allocations: 113.8 kB / 1.212 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.3946, allocations: 33.69 kB / 1.212 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.3947, allocations: 96.05 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.3948, allocations: 11.81 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.3949, allocations: 41.69 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.3951, allocations: 314.8 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001741/0.3952, allocations: 59.89 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.3954, allocations: 88.25 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.3957, allocations: 149.8 kB / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3958, allocations: 0 / 1.212 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00051/0.3963, allocations: 203.1 kB / 1.213 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.3963, allocations: 37.7 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.3964, allocations: 4.125 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3964, allocations: 4.062 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.3965, allocations: 15.98 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3965, allocations: 4 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.3967, allocations: 39.83 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.3968, allocations: 11.94 kB / 1.213 GB, free: 4.219 MB / 0.9669 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.0001434/0.3969, allocations: 129.7 kB / 1.213 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.3969, allocations: 11.91 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.397, allocations: 8.375 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.397, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.397, allocations: 4 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.397, allocations: 0 / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000533/0.3976, allocations: 370.5 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3976, allocations: 0 / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.3976, allocations: 15.92 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.3976, allocations: 4 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3977, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3977, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3977, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.398, allocations: 211.7 kB / 1.213 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.3981, allocations: 85.02 kB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.3981, allocations: 7.984 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.061e-05/0.3982, allocations: 4 kB / 1.214 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.99e-05/0.3983, allocations: 11.98 kB / 1.214 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3983, allocations: 7.938 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.3984, allocations: 91.27 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3984, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002844/0.3987, allocations: 24 kB / 1.214 GB, free: 3.148 MB / 0.9669 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.0002367/0.3989, allocations: 111.2 kB / 1.214 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.3993, allocations: 175.3 kB / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3994, allocations: 0 / 1.214 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.3995, allocations: 39.97 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003069/0.3998, allocations: 15.48 kB / 1.214 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.4003, allocations: 162.6 kB / 1.214 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.4006, allocations: 0.6924 MB / 1.215 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.495e-05/0.4006, allocations: 3.938 kB / 1.215 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.4007, allocations: 15.44 kB / 1.215 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.4007, allocations: 4 kB / 1.215 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of Templates: time 0.004987/0.4057, allocations: 1.45 MB / 1.216 GB, free: 444 kB / 0.9669 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches