Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.804/1.804, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 183.2 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008292/0.0008294, allocations: 87.89 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004176, allocations: 12 kB / 0.9224 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6849/0.6853, allocations: 121.3 MB / 1.041 GB, free: 58.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001165/0.6865, allocations: 481.3 kB / 1.041 GB, free: 57.86 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001756/0.6883, allocations: 1.286 MB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.6884, allocations: 0.75 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.332e-05/0.6884, allocations: 4.641 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/0.6885, allocations: 12.84 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.6891, allocations: 118.1 kB / 1.043 GB, free: 56.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.6893, allocations: 103.7 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.6894, allocations: 19.73 kB / 1.043 GB, free: 56.72 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.6896, allocations: 39.36 kB / 1.043 GB, free: 56.71 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001056/0.6897, allocations: 33.02 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.6897, allocations: 8.688 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.6898, allocations: 13.95 kB / 1.043 GB, free: 56.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.661e-05/0.6899, allocations: 16.14 kB / 1.043 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.125e-05/0.6899, allocations: 63.98 kB / 1.043 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.6902, allocations: 101.7 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6902, allocations: 3.469 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6902, allocations: 1.594 kB / 1.043 GB, free: 56.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.6902, allocations: 0 / 1.043 GB, free: 56.61 MB / 0.698 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.0005813/0.6908, allocations: 400.1 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6909, allocations: 11.06 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.6909, allocations: 12.33 kB / 1.044 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.691, allocations: 177 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.6911, allocations: 3.688 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.6911, allocations: 7.375 kB / 1.044 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.6913, allocations: 73.33 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.6914, allocations: 192 / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.6914, allocations: 3.938 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6914, allocations: 1.969 kB / 1.044 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001933/0.6916, allocations: 51.92 kB / 1.044 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.6921, allocations: 334 kB / 1.044 GB, free: 55.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.6923, allocations: 69.77 kB / 1.044 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.6925, allocations: 40.11 kB / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.6925, allocations: 0 / 1.044 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002663/0.6927, allocations: 97.53 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.6928, allocations: 0.5 kB / 1.044 GB, free: 55.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0004643/0.6932, allocations: 158.9 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.6933, allocations: 56.66 kB / 1.045 GB, free: 55.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.6934, allocations: 122.4 kB / 1.045 GB, free: 55.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.6934, allocations: 29.52 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.6934, allocations: 88.12 kB / 1.045 GB, free: 55.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.6935, allocations: 27.97 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.119e-05/0.6935, allocations: 2.812 kB / 1.045 GB, free: 55.15 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.6936, allocations: 320 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.6937, allocations: 62.97 kB / 1.045 GB, free: 54.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.6939, allocations: 88.73 kB / 1.045 GB, free: 54.77 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.6942, allocations: 159.1 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.6942, allocations: 0 / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004301/0.6946, allocations: 221.3 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.6947, allocations: 41.11 kB / 1.046 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.6947, allocations: 5.344 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.6947, allocations: 3.844 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.6948, allocations: 13.12 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.6949, allocations: 5.625 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.6951, allocations: 45.27 kB / 1.046 GB, free: 54.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.6951, allocations: 17.38 kB / 1.046 GB, free: 54.49 MB / 0.698 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 () * 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 9.47e-05/0.6952, allocations: 130.6 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.6953, allocations: 10.12 kB / 1.046 GB, free: 54.36 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.6953, allocations: 10.75 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.6953, allocations: 1.125 kB / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6953, allocations: 0 / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6953, allocations: 0 / 1.046 GB, free: 54.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.6957, allocations: 391.9 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6958, allocations: 0 / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.472e-05/0.6958, allocations: 9.344 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6958, allocations: 0 / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.6958, allocations: 3.406 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6959, allocations: 1.031 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6959, allocations: 4 kB / 1.046 GB, free: 54.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.6961, allocations: 218.1 kB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.6962, allocations: 90.11 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.6962, allocations: 7.031 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.6963, allocations: 13.61 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.6963, allocations: 6.688 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.6964, allocations: 5.344 kB / 1.047 GB, free: 53.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.533e-05/0.6964, allocations: 93.59 kB / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6964, allocations: 0 / 1.047 GB, free: 53.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002621/0.6967, allocations: 28.19 kB / 1.047 GB, free: 53.66 MB / 0.698 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.0001691/0.6969, allocations: 112.6 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003901/0.6973, allocations: 185.6 kB / 1.047 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6973, allocations: 0 / 1.047 GB, free: 53.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.6974, allocations: 52.89 kB / 1.047 GB, free: 53.45 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.6977, allocations: 17.08 kB / 1.047 GB, free: 53.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.6981, allocations: 183.4 kB / 1.047 GB, free: 53.29 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.6983, allocations: 0.6873 MB / 1.048 GB, free: 52.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.6983, allocations: 8.094 kB / 1.048 GB, free: 52.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.6984, allocations: 8.969 kB / 1.048 GB, free: 52.59 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6984, allocations: 0 / 1.048 GB, free: 52.59 MB / 0.698 GB Notification: Performance of Templates: time 0.004052/0.7024, allocations: 1.316 MB / 1.049 GB, free: 52.46 MB / 0.698 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 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)